Re: [Matplotlib-users] Quiver plot of a netcdf file

2009-06-15 Thread Zane Selvans
Okay, so in the "variables" section, what you've got is a list of things which vary as a function of the "dimensions" listed in the previous section (time, nsr_delta, lat, lon). I don't remember which of the NetCDF file reading libraries you're using, but using Jeff's older netCDF3 interface, you

Re: [Matplotlib-users] Quiver plot of a netcdf file

2009-06-15 Thread JPKay
Thanks for the suggestion to look at the demo, I had missed it in my initial look through. The quiver_demo seems to be broken up into three sections. The first section initializes the information for the the two quiver plots (sections two and three). This seems like the logical place to start for

Re: [Matplotlib-users] New contourf() drawing polygon boundaries for some reason?

2009-06-15 Thread Michael Droettboom
Thanks for the thorough investigation. Michiel: can you look into why the macosx backend is drawing the strokes around the polygons? Probably as simple as inadvertently ignoring an argument. I'll look into the path simplification-related issues. Cheers, Mike On 06/15/2009 03:29 PM, Zane Se

Re: [Matplotlib-users] Quiver plot of a netcdf file

2009-06-15 Thread Jeff Whitaker
JPKay wrote: > Hello, > > Now that I have correctly imported the NetCDF file and set up the kind of > projection I am interested in having the data displayed over I am having > trouble plotting my data with the quiver function. I am interested in > plotting the principal vectors of the stress fiel

Re: [Matplotlib-users] Quiver plot of a netcdf file

2009-06-15 Thread JPKay
Hello, Now that I have correctly imported the NetCDF file and set up the kind of projection I am interested in having the data displayed over I am having trouble plotting my data with the quiver function. I am interested in plotting the principal vectors of the stress field onto a Mercator proje

Re: [Matplotlib-users] New contourf() drawing polygon boundaries for some reason?

2009-06-15 Thread Zane Selvans
Yes. By far the worst of these behaviors is the macosx GUI output. I could see the other ones just being the way it's supposed to look. Here's a summary: backend: macosx; path.simplify: (false|true) GUI => black borders to drawn polygons (incl. contour region crossing lines, very bad) http://zan

Re: [Matplotlib-users] matplotlib 0.98.5.3 windows binaries available

2009-06-15 Thread John Hunter
On Mon, Jun 15, 2009 at 10:31 AM, Christoph Gohlke wrote: > Hi John, > > I rebuilt the installer and egg and confirmed that the distributed > matplotlibrc file contains "backend: TkAgg". > > > >

Re: [Matplotlib-users] matplotlib 0.98.5.3 windows binaries available

2009-06-15 Thread John Hunter
On Mon, Jun 15, 2009 at 10:12 AM, CaseyWeb wrote: > > I do have wxPython 2.8 installed so I don't know why this would have caused > the problem in the first place, but I changed the matplotlibrc to backend : > TkAgg and I still get the windows crash. Just to be clear, this isn't an > import error

Re: [Matplotlib-users] matplotlib 0.98.5.3 windows binaries available

2009-06-15 Thread CaseyWeb
I do have wxPython 2.8 installed so I don't know why this would have caused the problem in the first place, but I changed the matplotlibrc to backend : TkAgg and I still get the windows crash. Just to be clear, this isn't an import error or simple python exit; I'm actually getting the Windows cra

Re: [Matplotlib-users] change a matplotlib.lines.Line2D and update the plot

2009-06-15 Thread Sandro Tosi
On Mon, Jun 15, 2009 at 16:36, TP wrote: > Hi everybody, > > I want to modify a matplotlib.lines.Line2D and update the plot. > I have used Line2D._y member to modify the line. It works. But by doing > canvas.draw() (see example below), the line is not updated on the plot. To > update it, I have to

Re: [Matplotlib-users] change a matplotlib.lines.Line2D and update the plot

2009-06-15 Thread John Hunter
On Mon, Jun 15, 2009 at 9:36 AM, TP wrote: > Hi everybody, > > I want to modify a matplotlib.lines.Line2D and update the plot. > I have used Line2D._y member to modify the line. It works. But by doing > canvas.draw() (see example below), the line is not updated on the plot. To > update it, I have t

[Matplotlib-users] change a matplotlib.lines.Line2D and update the plot

2009-06-15 Thread TP
Hi everybody, I want to modify a matplotlib.lines.Line2D and update the plot. I have used Line2D._y member to modify the line. It works. But by doing canvas.draw() (see example below), the line is not updated on the plot. To update it, I have to do autoscale_view(). But I do not want the x and y r

Re: [Matplotlib-users] matplotlib 0.98.5.3 windows binaries available

2009-06-15 Thread pm13
It seems that default backend for Windows binaries is TkAgg in Python 2.5 but WXAgg in Python 2.6 (files from matplotlib/mpl-data in eggs are different).So without WxPython (what is quite common) there is ImportError with simple "from pylab import *". It could be solved very simply and then every

Re: [Matplotlib-users] matplotlib 0.98.5.3 windows binaries available

2009-06-15 Thread John Hunter
On Mon, Jun 15, 2009 at 7:38 AM, CaseyWeb wrote: > I installed this on python 2.6.2 using the windows installer (the .exe) but > it crashes even on something as > simple as importing pylab from the interactive prompt. To make sure it > wasn't a conflict with other packages, I created a clean virt

Re: [Matplotlib-users] matplotlib 0.98.5.3 windows binaries available

2009-06-15 Thread CaseyWeb
John, I installed this on python 2.6.2 using the windows installer (the .exe) but it crashes even on something as simple as importing pylab from the interactive prompt. To make sure it wasn't a conflict with other packages, I created a clean virtualenv directory and installed matplotlib from th

Re: [Matplotlib-users] matplotlib 0.98.5.3 windows binaries available

2009-06-15 Thread CaseyWeb
I installed the binaries using the .exe file on Python 2.6.2 but it throws a windows exception when I try to do anything with matplotlib, even just typing 'import pylab' in the python command interpreter. To rule out any conflicts, I created a python virtualenv directory and installed matplotlib

[Matplotlib-users] X axis layout differences between matplotlib 0.98.5.2 and 0.98.3

2009-06-15 Thread Dave Coutts
Hi I am developing on a Desktop install Ubuntu 9.04 machine with matplotlib 0.98.5.2, and running the scripts on a Server install Ubuntu 8.10 machine with matplotlib 0.98.3. I have found that the X axis layout for the same script varies between the two machines. Both have standard matplotlib

Re: [Matplotlib-users] 2d histogram

2009-06-15 Thread Matthias Michler
Hi M. , I think the function imshow with kwarg interpolation='nearest' is what you are after. See for instance: http://matplotlib.sourceforge.net/examples/pylab_examples/image_interp.html bet regards Matthias On Saturday 13 June 2009 17:42:54 ms wrote: > Hi, > > I want to plot the evolution of

Re: [Matplotlib-users] Tutorial topics for SciPy'09 Conference

2009-06-15 Thread Fernando Perez
Hi all, In order to proceed with contacting speakers, we'd now like to get some feedback from you. This Doodle poll should take no more than a couple of minutes to fill out (no password or registration required): http://doodle.com/hb5bea6fivm3b5bk So please let us know which topics you are most