[Matplotlib-users] Speeding up pcolor plot

2011-12-19 Thread Brad Malone
Hi, I am plotting a grid with pcolor. Below I've got a 1000x1000 grid. xi=linspace(-0.1,x[-1]+2,1000) > yi=linspace(-0.1,maxfreq+10,1000) > print 'Calling griddata...' > zi=griddata(x,y,z,xi,yi,interp='nn') > plt.pcolor(xi,yi,zi,cmap=plt.cm.hot) I am able to plot this on my computer, but it's ve

Re: [Matplotlib-users] constant spacing with griddata

2011-12-19 Thread Brad Malone
Paul, thanks so much for that explanation. I appreciate it! On Mon, Dec 19, 2011 at 9:20 PM, < matplotlib-users-requ...@lists.sourceforge.net> wrote: > Send Matplotlib-users mailing list submissions to >matplotlib-users@lists.sourceforge.net > > To subscribe or unsubscribe via the World W

Re: [Matplotlib-users] constant spacing with griddata

2011-12-19 Thread Paul Ivanov
Hi Brad, Brad Malone, on 2011-12-19 19:06, wrote: > However, when I do my own data I get an error message that says: > > > Traceback (most recent call last): > > File "make_colormap.py", line 248, in > > zi=griddata(x,y,z,xi,yi,interp='linear') > > File "/usr/lib/pymodules/python2.6/mat

[Matplotlib-users] constant spacing with griddata

2011-12-19 Thread Brad Malone
Hi, I am trying to use griddata to interpolate some irregularly spaced data onto a linspace-created mesh in order to get a temperature plot. I've been able to follow this example and it's worked perfectly for me: http://matplotlib.sourceforge.net/examples/pylab_examples/griddata_demo.html However

Re: [Matplotlib-users] basemap UTM conversion discrepancy

2011-12-19 Thread Jeff Whitaker
On 12/19/11 4:47 PM, Stefan Mertl wrote: Hi Jeff, I'm not an expert in coordinate transformation and the usage of proj, so I can't exactly tell you if I have all the datum files installed. If you could tell me what files could be missing I could search for them. What makes me wonder, is that yo

Re: [Matplotlib-users] basemap UTM conversion discrepancy

2011-12-19 Thread Stefan Mertl
Hi Jeff, I'm not an expert in coordinate transformation and the usage of proj, so I can't exactly tell you if I have all the datum files installed. If you could tell me what files could be missing I could search for them. What makes me wonder, is that you get the results that my mpl_toolkits.base

Re: [Matplotlib-users] basemap UTM conversion discrepancy

2011-12-19 Thread Jeff Whitaker
On 12/19/11 2:23 PM, Stefan Mertl wrote: > Hello, > > I'm starting to use the mpl_toolkits.basemap.pyproj.Proj class to do > lon/lat to UTM coordinate conversion. > I did some tests and noticed that there is a discrepancy between the > mpl_toolkits.basemap.pyproj.Proj output and the proj commandlin

[Matplotlib-users] basemap UTM conversion discrepancy

2011-12-19 Thread Stefan Mertl
Hello, I'm starting to use the mpl_toolkits.basemap.pyproj.Proj class to do lon/lat to UTM coordinate conversion. I did some tests and noticed that there is a discrepancy between the mpl_toolkits.basemap.pyproj.Proj output and the proj commandline tool output. e.g.: I'm converting the coordinates

[Matplotlib-users] patheffects for Line2D objects

2011-12-19 Thread Jonathan Slavin
Hi, It seems that patheffects are not supported for Line2D objects currently - only for Text and Patch objects. Is there any fundamental reason they couldn't be extended to support Line2D objects? I'm interested in this because I draw grid lines for some hammer projection plots and those lines a

[Matplotlib-users] upgrade 1.1 : py2exe distribution needs now not used modules : Tkinter, Tkconstants and matplotlib.backends.backend_tkagg

2011-12-19 Thread Loïc Duffar
Since the upgrade to 1.1 my py2exe distribution needs to include Tkinter, Tkconstants and matplotlib.backends.backend_tkagg (which I don't need, but take a lot of place) if Tkinter is not included, since 1.1 upgrade, I obtain the messages below when distribution is executed : Traceback (most r

Re: [Matplotlib-users] MPL Py2 and Py3 working together?

2011-12-19 Thread Michael Droettboom
It's definitely possible. Each version of Python installed has its own set of Python packages, so it would just be a matter of installing matplotlib in both places. Mike On 12/19/2011 09:38 AM, Ignas Anikevicius wrote: > Hello list, > > I was wondering, if it was possible to have Py2 *and* Py3

[Matplotlib-users] MPL Py2 and Py3 working together?

2011-12-19 Thread Ignas Anikevicius
Hello list, I was wondering, if it was possible to have Py2 *and* Py3 versions of MPL working on the same machine at the same time? I am asking because I would like to make a switch to Py3 on all my work, but at the same time I want to be able to run old scripts, which I might need in the future.

[Matplotlib-users] [ANN] IPython 0.12 is out!

2011-12-19 Thread Fernando Perez
Hi all, on behalf of the IPython development team, I'm thrilled to announce, after an intense 4 1/2 months of work, the official release of IPython 0.12. This is a very important release for IPython, for several reasons. First and foremost, we have a major new feature, our interactive web-based n