Re: [Matplotlib-users] install on mac osx 10.7.5?

2014-02-18 Thread Gary Pajer
is matplotlib, I get that plus it dependencies, and it works. But if you want an easy, fast (but large) solution, install Anaconda. Conda has many other nice features that may or may not be useful to you. HTH, gary ~-~-~ On Sun, Feb 16, 2014 at 11:05 PM, Maggie Maes margaret.e.m...@gmail.comwrote

Re: [Matplotlib-users] PIL + pyplot.savefig() size change

2011-09-23 Thread gary ruben
The dpi value, which can be overridden, will determine the size of the output image. It looks to me like you just want the output to always be the same size as your input image, so use imsave() instead of imshow() followed by savefig() for this: i.e. just do map = Basemap(..) pilImg =

Re: [Matplotlib-users] How do you Plot data generated by a python script?

2011-08-24 Thread gary ruben
and reading up on numpy. When you understand the basics of numpy, matplotlib's documentation should make a lot more sense. Gary On Thu, Aug 25, 2011 at 6:48 AM, surfcast23 surfcas...@gmail.com wrote: I am fairly new to programing and have a question regarding matplotlib. I wrote a python script

Re: [Matplotlib-users] Can I change pixel aspect with axes_grid

2011-08-20 Thread gary ruben
. regards, Gary On Sat, Aug 20, 2011 at 6:49 PM, Jae-Joon Lee lee.j.j...@gmail.com wrote: If you want aspect=auto, this must also be set when you create ImageGrid. A simple example is attached. If you want a fixed aspect other than 1, it is doable but gets a bit tricky. Let me know if this is what

[Matplotlib-users] Can I change pixel aspect with axes_grid

2011-08-18 Thread gary ruben
a pixel aspect other than 1:1 ? If not, is there a simple way to add a shared colorbar when using subplots() ? Gary -- Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities

Re: [Matplotlib-users] Some more mplot3d questions

2011-07-21 Thread gary ruben
Hi Ben, Comments inline... On Fri, Jul 22, 2011 at 1:31 AM, Benjamin Root ben.r...@ou.edu wrote: On Thu, Jul 21, 2011 at 1:10 AM, gary ruben gary.ru...@gmail.com wrote: I'm trying to make a surface plot using the latest version of mplot3d from the git trunk and I have a couple of questions

[Matplotlib-users] alpha settings in mplot3d

2011-07-19 Thread gary ruben
to 1.0 before saving. A cursory look at the new code makes me hopeful that this is now possible since the setting from _AXINFO has been moved to the Axis constructor. Does that mean I'll be able to do something like ax._axinfo['x']['color']=(0.3,0.3,0.3,1) with the new version? Gary

Re: [Matplotlib-users] alpha settings in mplot3d

2011-07-19 Thread gary ruben
the axis parts - two of every patch, grid line, tick line and label. It was this way before the latest changes also, but is there a reason, or is it a bug? It doesn't impact visually though. thanks for the great work on this, Gary On Wed, Jul 20, 2011 at 12:41 PM, Benjamin Root ben.r...@ou.edu wrote

Re: [Matplotlib-users] continous colour bar

2011-07-11 Thread gary ruben
The pre-defined hsv colour map has this property - can you use that? Otherwise, yes, it is possible to define any map you like. Gary R On Fri, Jul 8, 2011 at 12:55 PM, Ben Elliston b...@air.net.au wrote: Hi. I have a set of data with a range of (say) 0 to 100.  Is it possible to get

Re: [Matplotlib-users] Boundary edges of a set of points

2011-04-28 Thread gary ruben
-like-c-c i.e. dups = [x for x in list_a if list_a.count(x) 1] After removing all of these, you should be left with just the boundary edges. Gary R. On Fri, Apr 29, 2011 at 7:56 AM, Luke hazelnu...@gmail.com wrote: Ian,  Thanks for the response and the example code.  I guess what I'm trying

Re: [Matplotlib-users] LaTeX matplotlib Bug?

2011-04-05 Thread gary ruben
Um, how about r$80--120$ instead of r$80--120 ? On Wed, Apr 6, 2011 at 9:56 AM, Sean Lake odysseus9...@gmail.com wrote: Hello all, I'm trying to specify a range of numbers in a particular legend using LaTeX. In order to do so I'm feeding it the string: r$80--120. The output should be have

Re: [Matplotlib-users] jitter in matplotlib?

2011-02-24 Thread gary ruben
this is helpful, Gary R. On Thu, Feb 24, 2011 at 3:04 PM, Uri Laserson laser...@mit.edu wrote: Hi all, I am interested in jittering points in a plot.  I searched the forum, but I am amazed at the dearth of results on the topic.  I am referring to something like this: http://goo.gl/Db47s or http

Re: [Matplotlib-users] Trouble with imshow

2011-02-02 Thread gary ruben
of large images. Gary R On Thu, Feb 3, 2011 at 10:59 AM, Christoph Gohlke cgoh...@uci.edu wrote: On 2/2/2011 3:33 PM, Robert Abiad wrote: Hello All, I'm very new to python, so bear with me. I'd like to use python to do my image processing, but I'm running into behavior that doesn't make

Re: [Matplotlib-users] Memory usage

2011-01-15 Thread gary ruben
outputt ing something) even pyhton's caching was still at work, and the garbage collector could not free anything. Thanks a lot, and also thanks to Ben for taking interest ! Jules PS : Gary, sorry, for the duplicated mail

Re: [Matplotlib-users] Memory usage

2011-01-13 Thread gary ruben
to matplotlib objects. Gary R. On Fri, Jan 14, 2011 at 2:59 AM, Benjamin Root ben.r...@ou.edu wrote: On Thu, Jan 13, 2011 at 7:54 AM, CASOLI Jules jules.cas...@cea.fr wrote: Hello to all, This is yet another question about matplotlib not freeing memory, when closing a figure (using close()). Here

Re: [Matplotlib-users] how do I specify the line join and cap style?

2010-12-13 Thread gary ruben
Thanks for the workaround JJ. I've filed a feature request, Gary On Mon, Dec 13, 2010 at 9:54 PM, Jae-Joon Lee lee.j.j...@gmail.com wrote: It seems that there is no option to change join and cap style for patches (only lines have them). While there could be other ways, one workaround

[Matplotlib-users] online plotting site using MPL ?

2010-07-29 Thread Gary Pajer
I recall that there is an site online that produces all kinds of plots using mpl to render them. It has a name something like zumzum. Does anyone know what I'm talking about (and can you point me there?) thx, gary

[Matplotlib-users] Documentation suggestions (longish post)

2010-04-17 Thread Gary Ruben
that a new user doesn't need to know. I think a gentler description of mpl's plotting model in the introduction or in a standalone small chapter would be helpful for new users. Gary R. -- Download Intel#174; Parallel

Re: [Matplotlib-users] plot rgb spectrum

2010-04-04 Thread Gary Ruben
Hi Tymoteusz, I think this does what you want (see attached). I'm not sure about 3D though. Gary R. Tymoteusz Jankowski wrote: Hi! Can anyone help me to achive this? I'd like to plot rgb spectrum with matplotlib. For example let the x axis be green element, and for example... let the y

Re: [Matplotlib-users] visualizing colormaps for complex functions

2010-04-02 Thread Gary Ruben
extrema, which are the phase singularities - does mathematica have a function that gives you these, or did you write your own function to find them? regards, Gary Guy Rutenberg wrote: Hi, Is there a way to generate colormaps for complex-valued functions using matplotlib? The type of plots I'm

[Matplotlib-users] installation question

2010-03-22 Thread Mathes, Gary C
/ipython-0.8.4-1.el5.noarch.rpm.html Gary -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See

[Matplotlib-users] 3d pie charts

2010-03-20 Thread Gary Jaffe
. :) ___ | \/ \ \ / \ \/ \ \ / \ \/ \ \ / \ \/ \ \ / \ \/ \| Is there a way to do this? Thanks, Gary -- Download Intel#174; Parallel Studio Eval Try the new

Re: [Matplotlib-users] Using colourmap from matplotlib

2010-03-19 Thread Gary Ruben
as a .png then externally convert it to a .bmp Gary R. Ciarán Mooney wrote: Hi, I am trying to create an image from an array using PIL, numpy and a colourmap from matplotlib. snip I'd like to get something that looks the same. I don't think the problems are because of the colourmap but rather

Re: [Matplotlib-users] save image from array?

2010-02-15 Thread Gary Ruben
Hi Nico, I'm pretty sure the functionality is buried in there but unfortunately I couldn't figure out how to put it into the imsave function, so for now I think you have to resort to using PIL to do this. Gary R. Nico Schlömer wrote: Hi, I see that with imsave() it's possible to save

Re: [Matplotlib-users] Matplotlib conflicts with IDLE

2010-02-05 Thread Gary Pajer
On Fri, Feb 5, 2010 at 3:46 PM, David MacQuigg macqu...@ece.arizona.edu wrote: I can't get Matplotlib to work with IDLE.  plt.show() makes beutiful plots, but IDLE is hung.  Entering exit in the little pop-up console window raises an exception in IDLE, and then leaves the plot window hung. It

[Matplotlib-users] basemap problem

2010-01-28 Thread Gary Ruben
I just installed the latest EPD 6.0.2 Python 2.6-based distribution in WinXP. The mpl version is 0.99.1.1 and I installed basemap using the basemap-0.99.4.win32-py2.6.exe binary installer. I'm getting this traceback. Any ideas? Gary -- In [1]: from mpl_toolkits.basemap import Basemap

Re: [Matplotlib-users] basemap problem

2010-01-28 Thread Gary Ruben
Hang on - I just noticed EPD says it contains basemap already, so maybe installing over the top of it did something - I'll trying uninstalling and doing a repair of EPD. Gary Gary Ruben wrote: I just installed the latest EPD 6.0.2 Python 2.6-based distribution in WinXP. The mpl version

Re: [Matplotlib-users] basemap problem

2010-01-28 Thread Gary Ruben
OK, that worked. Sorry for the noise. I forgot basemap gets put under site-packages/mpl_toolkits. When I installed a second copy using the basemap binary installer, it went under site-packages and caused some sort of conflict. Gary Gary Ruben wrote: Hang on - I just noticed EPD says

[Matplotlib-users] Installation error

2010-01-25 Thread Gary Robinson
with exit status 1 Anyone have any suggestions? Thanks Gary -- Gary Robinson CTO Emergent Music, LLC personal email: gary...@me.com work email: grobin...@flyfi.com Company: http://www.flyfi.com Blog:http://www.garyrobinson.net

Re: [Matplotlib-users] define color cycle in matplotlibrc

2010-01-06 Thread Gary Ruben
I'm happy for it to remain just a suggestion and not a reality. I mentioned it in case it was easy to implement alongside the color cycle but it seems it is not. Thanks for considering it anyway Eric, Gary Eric Firing wrote: Dominik Szczerba wrote: -BEGIN PGP SIGNED MESSAGE- Hash

Re: [Matplotlib-users] define color cycle in matplotlibrc

2009-12-29 Thread Gary Ruben
. Gary R Eric Firing wrote: Dominik Szczerba wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 OK I started hacking and added a color_cycle property to matplotlibrc. Would you be so kind to add this fix to the official version? Thanks! Dominik Your basic idea--that the colorcycle should

Re: [Matplotlib-users] I Need a Couple of Tips for Windows to Get Started on IPython

2009-12-08 Thread Gary Ruben
Wayne Watson wrote: I thought the console was the only way to use IPython. I go to Start-Allprograms-IPython, and select IPython. Oh, I see *Console is something of a replacement for the Win Cmd Console. Is there some site that shows off it's features? Not that I know of. By the way, in

Re: [Matplotlib-users] I Need a Couple of Tips for Windows to Get Started on IPython

2009-12-07 Thread Gary Pajer
On Mon, Dec 7, 2009 at 11:41 AM, Wayne Watson sierra_mtnv...@sbcglobal.netwrote: Good. Thanks. Interesting that ls and pwd are used for Win, but that's fine. How do I copy parts of the window? All I can do at the moment is sweep out a rectangular area with the mouse. It looks like I

Re: [Matplotlib-users] I Need a Couple of Tips for Windows to Get Started on IPython

2009-12-07 Thread Gary Ruben
In Windows I recommend running iPython inside Console http://sourceforge.net/projects/console/ particularly for its vastly improved copy and pasting. Gary R. phob...@geosyntec.com wrote: Third Google result for copy paste in DOS prompt http://www.copy--paste.org/copy-paste-between-dos

Re: [Matplotlib-users] Arrows between points in a plot?

2009-11-29 Thread Gary Ruben
://matplotlib.sf.net/examples/index.html http://matplotlib.sf.net/gallery.html Gary R. Michael Cohen wrote: Hi all, I have a plot that has say 6 black X's, each separate, and 6 blue X's, also separate, denoting where x's 1-6 have moved to (from black to blue). Currently each point is plotted

[Matplotlib-users] python crashes on from matplotlib import pyplot

2009-11-25 Thread W. Gary Williams
. Thank you, Gary Williams -- Gary Williams Clearwater Instrumentation, Inc. 304 Pleasant St., Watertown, MA 02472 USA +1 617 9242708 tel. +1 617 9242724 fax http://www.clearwater-inst.com ���?�x�m�l� �v�e�r�s�i�o�n�=��1�.�0�� �e�n�c�o�d�i�n�g�=��U�T�F�-�1�6��?�� � ��D�A�T�A�B�A�S�E�� � ��E�X

Re: [Matplotlib-users] separate sub-forum for basemap?

2009-11-23 Thread Gary Ruben
IMO I don't think the traffic level on either pure mpl or basemap warrants a split. Gary R. Dr. Phillip M. Feldman wrote: It seems as though there are enough basemap-related posts that it might be worth creating a separate basemap-specific sub-forum of the matplotlib forum

Re: [Matplotlib-users] query abuot plotting polygons using a basemap projection

2009-11-20 Thread Gary Ruben
that illustrates the problem - it tries to plot an icosahedron on the Mollweide plot. Gary R. Jeff Whitaker wrote: Gary Ruben wrote: I'm plotting a coverage map of a sphere using the Mollweide plot in basemap. The attachment is an example that is produced by sending an array of polygons (one polygon per row

Re: [Matplotlib-users] Circular colormaps

2009-11-08 Thread Gary Ruben
useful to see what the individual colour channels are doing if you decide to make a new colormap of your own - you just need to ensure that the r, g, and b values match at both ends. Gary Ariel Rokem wrote: Hi everyone, I am interested in using a circular colormap, in order to represent

Re: [Matplotlib-users] query abuot plotting polygons using a basemap projection

2009-11-03 Thread Gary Ruben
Thank you Jeff. I'll try out this solution. Gary. Jeff Whitaker wrote: snip Gary: You might be able to use the _geoslib module to compute the intersections of those polygons with the map boundary. I do a similar thing with the coastline polygons in the _readboundarydata function

Re: [Matplotlib-users] imshow smoothing

2009-09-22 Thread Gary Ruben
Yes. Use interpolation='nearest' instead. Gary R. Michael Hearne wrote: Running the test script below gives me the image I have attached, which looks like it has been smoothed. Does imshow perform some sort of smoothing on the data it displays? If so, is there a way to turn this off

Re: [Matplotlib-users] plotting asymmetric error bars?

2009-09-13 Thread Gary Ruben
Hi Per, You need 2*N, not N*2 arrays here. I think you're also trying to use absolute values so you probably need something like this: plt.errorbar([1,2,3],[1,2,3],yerr=np.abs(a.T-[1,2,3])) I hope this is what you're after, Gary R. per freem wrote: hi all, i am trying to plot asymmetric

Re: [Matplotlib-users] plt.gray dont' work with plt.scatter?

2009-09-12 Thread Gary Ruben
='^', facecolor=(.7,.7,.7), c='r') Gary R. lotrpy wrote: Hello, Sorry for my broken english. I copy the source code from http://matplotlib.sourceforge.net/examples/pylab_examples/scatter_demo.html Just Insert one line gray() before the last line show(). But the picture is sitll colorful. not a gray

Re: [Matplotlib-users] best format for MS word?

2009-09-02 Thread Gary Ruben
I haven't tried it myself, but this converter may do the trick. If it works, can you report back? I'd be interested to know: http://sk1project.org/modules.php?name=Productsproduct=uniconvertor Gary R. Shixin Zeng wrote: Hi, Could someone tell me what's the best format that matplotlib can

Re: [Matplotlib-users] complex layouts of plots in matplotlib

2009-08-10 Thread Gary Ruben
I think these address both your questions. The list of new features is here: http://matplotlib.sourceforge.net/users/whats_new.html#new-in-matplotlib-0-99 Gary per freem wrote: Hi all, i am wondering if there is a way or an interface in matplotlib to design complex plot layouts. what i mean

[Matplotlib-users] axes_grid examples

2009-08-10 Thread Gary Ruben
Many of the axes_grid examples in the thumbnail gallery don't work out of the box with the latest matplotlib 0.99 because they rely on demo_image and demo_axes_divider modules. Should these have been packaged with 0.99 or were they left out deliberately? Gary R

Re: [Matplotlib-users] axes_grid examples

2009-08-10 Thread Gary Ruben
Thanks John. John Hunter wrote: On Mon, Aug 10, 2009 at 5:05 AM, Gary Rubengru...@bigpond.net.au wrote: Many of the axes_grid examples in the thumbnail gallery don't work out of the box with the latest matplotlib 0.99 because they rely on demo_image and demo_axes_divider modules. Should

Re: [Matplotlib-users] [matplotlib-devel] crazy ideas for MPL

2009-07-02 Thread Gary Ruben
Is this an ideas thread? How about a copy image to clipboard button for the toolbar. Gary R. Pierre GM wrote: Eh, can I play ? * Something I'd really like to see is a way to access a given patch/ line/collection/... by a string (a name) instead of having to find the corresponding element

Re: [Matplotlib-users] 0.98.6svn Windows

2009-06-23 Thread Gary Pajer
Windows speed. VirtualBox is about 10% slower than AndLinux. (That was *one* test on *one* script.) Networking works fine in both. I've compiled Sage, and ran a Sage notebook webserver from both VirtualBox and AndLinux, accessing the server from another machine. Everything works. -gary

Re: [Matplotlib-users] matplotlibrc customizing

2009-06-10 Thread Gary Ruben
When I f.e. change #xtick.labelsize : 14 (from '12') #xtick.direction : out (from 'in') Uncomment the lines. #xtick.labelsize : 14 #xtick.direction : out to xtick.labelsize : 14 xtick.direction : out

Re: [Matplotlib-users] Integrating matplotlib into a GUI

2009-04-29 Thread Gary Pajer
On Sun, Apr 26, 2009 at 6:41 PM, Gökhan SEVER gokhanse...@gmail.com wrote: Hello, Thanks for the pointer Bryan. I also seen Gael's tutorial (http://gael-varoquaux.info/computers/traits_tutorial/index.html) To me, it seems much easier to use Traits, instead of learning WX or QT. It is. I

Re: [Matplotlib-users] 3D plots

2009-03-23 Thread Gary Ruben
is usually useful and matplotlib may soon again have limited 3D capability. Gary R. Etienne Gaudrain wrote: Hello list ! This is probably a recurrent topic, or even more probably HAVE been a recurrent topic... So sorry, sorry, sorry... I wanted to search the archives but Sourceforge

[Matplotlib-users] On changing the default tick pad

2009-03-21 Thread Gary Ruben
for Matlab plotting examples and some appear to match the pad=4 padding whereas others are more like pad=6. Of course I shall change this in my matplotlibrc file. I just thought I'd see if I could provoke a revolution, Gary R

Re: [Matplotlib-users] memory usage (leakage?) in ipython interactive mode

2009-03-06 Thread Gary Ruben
-cs option. thanks for your help, Gary Michael Droettboom wrote: There are at least three possible causes of what you're seeing here: 1) ipython stores references to all results in the console. (ipython maintains a history of results so they can easily be accessed later). I don't recall

[Matplotlib-users] memory usage (leakage?) in ipython interactive mode

2009-03-04 Thread Gary Ruben
things, but nothing that had a clear resolution. thanks, Gary -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise

[Matplotlib-users] imsave() function

2009-02-06 Thread Gary Ruben
backends produce incorrect, but different, results. Gary R. import numpy as np import matplotlib as mpl # Backend tests - uncomment in turn # mpl.use('Agg') # mpl.use('TkAgg') # mpl.use('WxAgg') # problem in Win32 with mpl 0.98.5.2 # mpl.use('Wx')# several problems in Win32 with mpl 0.98.5.2

Re: [Matplotlib-users] unfilled markers?

2009-01-27 Thread Gary Ruben
are not wanted on a particular plot that uses filled markers, the edge width can simply be set to zero. The decision might be guided by whichever results in the simplest logic or least overhead. regards, Gary Norbert Nemec wrote: Before my work in 2004, the colors were not following the line color

Re: [Matplotlib-users] unfilled markers?

2009-01-27 Thread Gary Ruben
It just occurred to me that another option might be to simply add a new colour option line for mec and mfc which would instruct them to pick up the current line colour. Gary -- This SF.net email is sponsored

Re: [Matplotlib-users] unfilled markers?

2009-01-26 Thread Gary Ruben
Has the mec always been black? I thought it used to be the same as the line colour. I expected it to default to the line colour, as Che expected. Gary R. Norbert Nemec wrote: Sorry for my misleading words - I did not correctly recall my own work from back then... In fact, the code

Re: [Matplotlib-users] unfilled markers?

2009-01-26 Thread Gary Ruben
simple selection without users having to search through the mailing list to find Norbert's solution. If I was publishing a colour plot with line markers I would definitely want to do this. Gary John Hunter wrote: On Mon, Jan 26, 2009 at 6:17 AM, Gary Ruben wrote: Has the mec always been black? I

[Matplotlib-users] different behaviour in Windows and Linux

2008-12-02 Thread Gary Ruben
-to-1 array element-to-pixel image saving applying colourmaps and clims? thanks, Gary R. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK

Re: [Matplotlib-users] different behaviour in Windows and Linux

2008-12-02 Thread Gary Ruben
when the array values in that column are all zeros and the image is written in Linux, whereas it's black when written in Windows. Gary - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build

Re: [Matplotlib-users] different behaviour in Windows and Linux

2008-12-02 Thread Gary Ruben
Thanks for the rapid fix Mike. regards, Gary Michael Droettboom wrote: There is an explicit offset of one pixel on the left when it sets up a clip box in Agg. I don't know why this is there, but it dates back to 0.98.0, and earlier versions did something completely different. I can only

Re: [Matplotlib-users] wx backend scaling problem

2008-03-11 Thread Gary Ruben
change. Many thanks for looking at this. I applied your fix and it works for me. Gary R. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go

Re: [Matplotlib-users] wx backend scaling problem

2008-03-09 Thread Gary Ruben
Gary Ruben wrote: The attached test.py Oops. Here it is. Gary R. import matplotlib as mpl #~ mpl.use('PDF') #~ mpl.use('Agg') #~ mpl.use('TkAgg') mpl.use('WXAgg') #~ mpl.use('SVG') #~ mpl.use('PS') from pylab import * pts = 128 rcFig = {'figsize': (2,1), 'dpi': pts

Re: [Matplotlib-users] automatically choose line markers/styles?

2008-02-20 Thread Gary Ruben
. Gary R. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Matplotlib-users

Re: [Matplotlib-users] scatter plot onto background image

2008-02-09 Thread Gary Ruben
Hi Jibo, I'm not sure of your reasons for wanting to do this, but you might find the psychopy package of interest: http://www.psychopy.org/ Gary R. He Jibo wrote: Hi, Everyone, I want to create a scatter plot onto a background image. Anybody could help me?Thank you

Re: [Matplotlib-users] pylab axis query and possible bug

2007-12-21 Thread Gary Ruben
Beautiful! Many thanks John. Gary R. John Hunter wrote: snip You can manually turn off autoscaling on the axes instance with the following, and both scatter and plot should then work as you want. ax1 = subplot(121) axis('off') ax1.imshow(rand(20,20)) ax2 = subplot(122) axis('off') ax2

[Matplotlib-users] pylab axis query and possible bug

2007-12-20 Thread Gary Ruben
prefer plot() instead of scatter() in this case because of the plot origin. thanks, Gary R. -- from pylab import * rcFig = {'figsize': (2,1), 'dpi': 256, 'subplot.hspace': 0.0, 'subplot.wspace': 0.0, 'subplot.bottom': 0.0, 'subplot.left': 0.0

[Matplotlib-users] pylab axis query and possible bug

2007-12-20 Thread Gary Ruben
. How do I prevent the rescaling? I prefer plot() instead of scatter() in this case because of the plot origin. thanks, Gary R. -- from pylab import * rcFig = {'figsize': (2,1), 'dpi': 256, 'subplot.hspace': 0.0, 'subplot.wspace': 0.0, 'subplot.bottom': 0.0

Re: [Matplotlib-users] IDL Font question

2007-11-01 Thread Gary Ruben
font site. HTH, Gary R. Jose Gomez-Dans wrote: Hi, Some colleagues have sent some plots which they generated using IDL (boo!!! hiss!! :D), and they look quite dissimilar to my matplotlib ones. I would like to mimic their layout as much as possible, which so far is a success. The only problem

Re: [Matplotlib-users] confusion about what part of numpy pylab imports

2007-04-24 Thread Gary Ruben
the behaviour you observe - this will be fixed when pylab drops support for the older packages, which should be soon. Gary R. Mark Bakker wrote: Hello list - I am confused about the part of numpy that pylab imports. Apparently, pylab imports 'zeros', but not the 'zeros' from numpy

Re: [Matplotlib-users] matlab, idle, interactivity and teaching

2007-04-03 Thread Gary Ruben
. Gary R. Giorgio F. Gilestro wrote: A really great IDE for windows users is pyScripter ( http://mmm-experts.com/Products.aspx?ProductId=4 ) It's probably the best I could try so far (and it's free). cheers On 3/30/07, Tim Hirzel [EMAIL PROTECTED] wrote: As for a good IDE. I really like

Re: [Matplotlib-users] Building on Kubuntu: No module named _ns_backend_agg

2007-02-20 Thread Gary Pajer
On 2/19/07, Andrew Straw [EMAIL PROTECTED] wrote: Dear Gary, _ns is the numpy backend. Do you have numpy installed? yes, from svn Is it working? it seems to be. Nothing I use is broken. Everything I've tried works. Are you compiling matplotlib from source? yes, version 0.90, the released

Re: [Matplotlib-users] Building on Kubuntu: No module named _ns_backend_agg

2007-02-20 Thread Gary Pajer
On 2/20/07, Gary Pajer [EMAIL PROTECTED] wrote: On 2/19/07, Andrew Straw [EMAIL PROTECTED] wrote: Dear Gary, _ns is the numpy backend. Do you have numpy installed? yes, from svn [...] Python 2.4.7 typo: 2.4.4

Re: [Matplotlib-users] Building on Kubuntu: No module named _ns_backend_agg

2007-02-20 Thread Gary Pajer
Solved. I had missed the default setting of Numerix to Numeric. Changed it to numpy, and everything is ok. On 2/20/07, Gary Pajer [EMAIL PROTECTED] wrote: [sorry if this appears more than once] On 2/19/07, Andrew Straw [EMAIL PROTECTED] wrote: Dear Gary, _ns is the numpy backend. Do you

[Matplotlib-users] Building on Kubuntu: No module named _ns_backend_agg

2007-02-19 Thread Gary Pajer
lots of time chasing down dependencies, and there are no errors during the build. Help please? TIA, gary - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance

[Matplotlib-users] from pylab import * imports oldnumeric

2007-01-31 Thread Gary Ruben
: zeros((d1,...,dn),dtype=float,order='C') Return a new array of shape (d1,...,dn) and type typecode with all it's entries initialized to zero. -- Gary R. - Take Surveys. Earn Cash. Influence the Future of IT Join

Re: [Matplotlib-users] Problem with savefig and usetex

2006-12-11 Thread Gary Ruben
I haven't tried it, but my guess is the '\' character is the problem. pylab.xlabel('10$^3$ M$_\odot$') Try pylab.xlabel(r'10$^3$ M$_\odot$') ^ Add raw string marker. or maybe pylab.xlabel('10$^3$ M$_\\odot$') Gary R. Nicolas Champavert wrote: Hello, I have

Re: [Matplotlib-users] zorder of legend

2006-12-08 Thread Gary Ruben
Sorry John, I see this was fixed a while ago - I was still using 0.87.3 from the last Enthought edition. Now that there's a scipy installer, I should upgrade numpy/scipy/mpl to something more current. Gary R. Gary Ruben wrote: While I think of it, I think the default zorder of legends should

[Matplotlib-users] problems with vector output formats

2006-12-07 Thread Gary Ruben
filtering functions for the backends to use would encourage their use and help make output files smaller. Gary R. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance

[Matplotlib-users] zorder of legend

2006-12-07 Thread Gary Ruben
While I think of it, I think the default zorder of legends should be bigger so that, by default it overlays all plot lines and symbols. Gary R. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's

Re: [Matplotlib-users] Plot problem

2006-12-01 Thread Gary
people are going to fix that soon. In the meantime, I have a matched set of Numpy and Scipy installers for Windows and Python 2.4.3 that works with the latest mpl binary installer. I'm happy to provide my installers if anyone wants them. Contact me directly.) -gary Good luck! JDH

[Matplotlib-users] wxmsw26uh_vc.dll again ?

2006-11-21 Thread Gary
and installed the unicode version again.) what do you think? -gary - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics

Re: [Matplotlib-users] Creating Dendrograms

2006-08-31 Thread Gary Ruben
Perhaps NetworkX https://networkx.lanl.gov/ will do what you want, depending on how much control you need over the node placement. There are a few more suggestions for general graph plotting solutions here: https://networkx.lanl.gov/wiki/Drawing. hth Gary R. R. Padraic Springuel wrote: Can

Re: [Matplotlib-users] Weird resizing issue

2006-07-22 Thread Gary Ruben
of the window remaining with the incorrect aspect. I seem to remember seeing this behaviour on an old version of matplotlib. I thought it disappeared and has perhaps returned. My memory is hazy on this. Gary R. Tommy Grav wrote: I am using matplotlib to display a couple of fits-images and then use

Re: [Matplotlib-users] histogram bug

2006-07-22 Thread Gary Ruben
from the windows explorer, it doesn't show up. On my win98 desktop, however, it shows up regardless. Gary Ruben wrote: Note: I just verified that this was introduced into 0.87.4. 0.87.3 doesn't exhibit the problem. See attachment. Gary R. [EMAIL PROTECTED] wrote: The following minimal script

Re: [Matplotlib-users] histogram bug

2006-07-21 Thread Gary Ruben
Note: I just verified that this was introduced into 0.87.4. 0.87.3 doesn't exhibit the problem. See attachment. Gary R. [EMAIL PROTECTED] wrote: The following minimal script reveals a rendering problem with displaying a histogram on a log vertical axis. I'm using matplotlib0.87.4 in WinXP

Re: [Matplotlib-users] problem with enthon's mpl.

2006-07-14 Thread Gary Ruben
I tried it out and it is fixed in the latest Enthought release 1.0.0beta4 Gary Ruben wrote: Hi Rob, A couple of us reported this last week on the scipy list and I think it should be fixed in the version which was just released by Enthought, so if your friend will persevere and grab

Re: [Matplotlib-users] problem with enthon's mpl.

2006-07-13 Thread Gary Ruben
Hi Rob, A couple of us reported this last week on the scipy list and I think it should be fixed in the version which was just released by Enthought, so if your friend will persevere and grab the latest version, it should be OK - I hope to try it out today. Gary R. Rob Hetland wrote: I am

Re: [Matplotlib-users] Can you set numerix in a script?

2006-07-13 Thread Gary Ruben
bother supporting numpy. Gary R. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application

Re: [Matplotlib-users] Improved dashing for black and white plots?

2006-07-11 Thread Gary Ruben
) and it didn't work. Perhaps (999,0) would be better? Gary R. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download