[Matplotlib-users] basemap error or user error?

2009-04-12 Thread antonv
Hi all, I have a weird thing happening with basemap and I am not sure if it's basemap or me, but more than likely it's me :( Here is the grib file that I am using: http://downloads.75ive.com/multi_1.20090321.t18z_multi_1.wc_10m.all.grb2 http://downloads.75ive.com/multi_1.20090321.t18z_multi_1.wc

[Matplotlib-users] basemap error or user error?

2009-04-12 Thread antonv
-- View this message in context: http://www.nabble.com/basemap-error-or-user-error--tp23017751p23017751.html Sent from the matplotlib - users mailing list archive at Nabble.com. -- This SF.net email is sponsored by: H

Re: [Matplotlib-users] Lines and columns in legends

2009-04-12 Thread Jae-Joon Lee
The recent version of the mpl now supports multi-column legend. http://matplotlib.sourceforge.net/examples/pylab_examples/legend_demo3.html Thus, it would be great if you to try the new version, and if your problem is still not solved, please report it again. Regards, -JJ On Sun, Apr 12, 2009

Re: [Matplotlib-users] test before show

2009-04-12 Thread Eric Firing
John Hunter wrote: > On Thu, Apr 9, 2009 at 4:02 PM, mm2ps wrote: >> Hi, >> >> How would you check that there is something to show() before you show()? > > Although it is a bit inelegant, you could use the _pylab_helpers > module to see how many figure managers are active In svn trunk this is ex

[Matplotlib-users] Lines and columns in legends

2009-04-12 Thread Vasileios Kontorinis
Jae-Joon hi, I am a newbie with matplolib. I need a horizontal legend because my figures are pretty wide and I need to automate the process of generating it. Since matplotlib does not support horizontal legends I am hacking around it. I modified your example below. So the following works:

Re: [Matplotlib-users] test before show

2009-04-12 Thread John Hunter
On Thu, Apr 9, 2009 at 4:02 PM, mm2ps wrote: > > Hi, > > How would you check that there is something to show() before you show()? Although it is a bit inelegant, you could use the _pylab_helpers module to see how many figure managers are active home:~> ipython -pylab Python 2.5 (r25:51918, Sep

Re: [Matplotlib-users] convert a masked array to a non masked one?

2009-04-12 Thread antonv
Thanks, that's exactly what i was looking for! Anton Jae-Joon Lee wrote: > > I guess you want this. > > http://docs.scipy.org/doc/numpy/reference/generated/numpy.ma.filled.html#numpy.ma.filled > > -JJ > > > On Sat, Apr 11, 2009 at 3:36 PM, antonv wrote: >> >> Hi all, >> >> Another noob qu

[Matplotlib-users] test before show

2009-04-12 Thread mm2ps
Hi, How would you check that there is something to show() before you show()? Thank you, Douglas -- View this message in context: http://www.nabble.com/test-before-show-tp22979149p22979149.html Sent from the matplotlib - users mailing list archive at Nabble.com. -

[Matplotlib-users] How to plot 2d histogram with the same scale!!

2009-04-12 Thread siz siz
Hi all,I want to use contourf function in matplotlib to plot 2D free energy histogram for my research. I have 2 plots and want them have the same colorbar scale so that I could compare the minima or maxima. I've been looking at colorbar doc but i can not find a solution. I always gets 2 different c