Re: [Matplotlib-users] troubles with contour3d, contourf3d in v0.87.5

2007-02-07 Thread Eric Firing
Angus McMorland wrote: > Hi all, > > Did any progress get made beyond this discussion below? I'm trying to > get contourf3D working, using latest svn, and it still seems to be > out-of-order. Contour3D works, but I get exactly the same errors (and > went exactly the same route trying to fix them)

Re: [Matplotlib-users] troubles with contour3d, contourf3d in v0.87.5

2007-02-07 Thread Angus McMorland
Hi all, Did any progress get made beyond this discussion below? I'm trying to get contourf3D working, using latest svn, and it still seems to be out-of-order. Contour3D works, but I get exactly the same errors (and went exactly the same route trying to fix them) as Matthew. On 13/01/07, Eric Firi

[Matplotlib-users] Fwd: Problem with adding an artist from one axes instance to another

2007-02-07 Thread John Hunter
> But this fails to plot the first rectange in the resulting plot. The > second, red rectangle is painted correctly in the resulting plot, but > the first one is totaly missing in the plot, leaving only a line in > the plot. Is there some kind of internal status that has to be > resettet in the act

[Matplotlib-users] Problem with adding an artist from one axes instance to another

2007-02-07 Thread Berthold Höllmann
I try to take artists from one subplot instance and add them to another: - from matplotlib.backends.backend_agg import FigureCanvasAgg as FigureCanvas from matplotlib.figure import Figure from matplotlib.patches import Patch, Rectangle from matplotlib.lines import Line2D f

Re: [Matplotlib-users] Trying

2007-02-07 Thread George Nurser
On 07/02/07, Michael Lerner <[EMAIL PROTECTED]> wrote: > That works for me. Thanks. I was trying to muck around with _lut > directly and make a sentinel version of LinearSegmentedColormap. As I > didn't really know what I was doing, I was having some strange > results. Also, in case other folks

[Matplotlib-users] Numpy image module failure

2007-02-07 Thread Koontz, Joshua (IMS)
I've just installed matplotlib on a 64 bit server running Suse Linux Enterprise Server 9. I followed the instructions on the Installing section from the webpage and everything seemed to install fine using the defaults. I installed the latest version of Numpy, 1.0.1, then proceeded to install matp

Re: [Matplotlib-users] [matplotlib-devel] Notes on switching backends to qt4 on mac os x

2007-02-07 Thread Christopher Barker
Rob Hetland wrote: > The MPL Qt backend requires PyQt (or, better, Qt4 and PyQt4). PyQt does > compile against the Qt Library, and also takes quite a while to > complete. I guess I wasn't clear -- does the MPL QT back-end compile against QT? Or can you just install PyQt after MPL, and have it

Re: [Matplotlib-users] Native file format

2007-02-07 Thread Todd Miller
Perry Greenfield wrote: > On Feb 7, 2007, at 10:21 AM, John Hunter wrote: > > >> On 2/7/07, Edin Salkovic <[EMAIL PROTECTED]> wrote: >> >> >>> Why can't mpl's figures be pickled? >>> >> The main thing is we need to add pickle support for all of mpl's >> extension code >> >> http:

Re: [Matplotlib-users] ANN: matplotlib-0.90.0

2007-02-07 Thread Christopher Barker
Werner F. Bruhin wrote: > Great to see a new release, will put some time aside to test it with > wxPython early next week. looking forward to your reports. > which versions of wxPython are supported? I haven't tried the new one, but the last release worked well with wxPython2.6.3, but had some

Re: [Matplotlib-users] Native file format

2007-02-07 Thread Perry Greenfield
On Feb 7, 2007, at 10:21 AM, John Hunter wrote: > On 2/7/07, Edin Salkovic <[EMAIL PROTECTED]> wrote: > >> Why can't mpl's figures be pickled? > > The main thing is we need to add pickle support for all of mpl's > extension code > > http://docs.python.org/lib/node321.html > > In earlier attem

Re: [Matplotlib-users] Native file format

2007-02-07 Thread John Hunter
On 2/7/07, Edin Salkovic <[EMAIL PROTECTED]> wrote: > Why can't mpl's figures be pickled? The main thing is we need to add pickle support for all of mpl's extension code http://docs.python.org/lib/node321.html In earlier attempts people got stuck with trying to pickle the CXX extension code,

Re: [Matplotlib-users] Wheel mouse

2007-02-07 Thread John Hunter
On 2/7/07, Marco Fumana <[EMAIL PROTECTED]> wrote: > Hello, > I'm using matplotlib 0.85 in FigureCanvasGTKAgg backend. > I'm usign mpl_connect method to connect mouse event to function, but > I'm not able to capture mouse wheel motion. > Could somebody help me?lotlib-users Hmm, this surprised me b

Re: [Matplotlib-users] Native file format

2007-02-07 Thread Jan Strube
On 2/7/07, Edin Salkovic <[EMAIL PROTECTED]> wrote: On 2/4/07, Eric Firing <[EMAIL PROTECTED]> wrote: > Jan Strube wrote: > > Hi List, > > is there a way to store matplotlib figures in something like a native > > file format? > > I am thinking of something that keeps track of all the objects > >

Re: [Matplotlib-users] Notes on switching backends to qt4 on mac os x

2007-02-07 Thread Darren Dale
Hi Rob, On Wednesday 07 February 2007 09:06:42 am Rob Hetland wrote: > Developers: Finally, I had to make some small changes to the qt4 > backend so that things worked right. One is an essential change -- > the latin1() method no longer exists in the newer qt. The other is a > cosmetic change s

Re: [Matplotlib-users] Trying

2007-02-07 Thread Michael Lerner
That works for me. Thanks. I was trying to muck around with _lut directly and make a sentinel version of LinearSegmentedColormap. As I didn't really know what I was doing, I was having some strange results. Also, in case other folks don't realize this, you can initialize this with a Colormap, L

[Matplotlib-users] Wheel mouse

2007-02-07 Thread Marco Fumana
Hello, I'm using matplotlib 0.85 in FigureCanvasGTKAgg backend. I'm usign mpl_connect method to connect mouse event to function, but I'm not able to capture mouse wheel motion. Could somebody help me? Thanks marco - Using To

Re: [Matplotlib-users] ANN: matplotlib-0.90.0

2007-02-07 Thread Charlie Moad
On 2/7/07, Werner F. Bruhin <[EMAIL PROTECTED]> wrote: > Charlie, > > Charlie Moad wrote: > > On 2/7/07, Werner F. Bruhin <[EMAIL PROTECTED]> wrote: > >> Hi Charlie, > >> > >> Great to see a new release, will put some time aside to test it with > >> wxPython early next week. > >> > >> I can't see a

Re: [Matplotlib-users] DIscretization of colorbar

2007-02-07 Thread David Huard
You can also take a look at the wiki http://www.scipy.org/Cookbook/Matplotlib/ColormapTransformations There you'll find the code I had about colormap discretization. Maybe it does the same thing Eric discussed, however. Cheers, David 2007/2/6, Eric Firing <[EMAIL PROTECTED]>: Claas Teichmann

[Matplotlib-users] Notes on switching backends to qt4 on mac os x

2007-02-07 Thread Rob Hetland
Here are some notes I made -- I hope it might save someone a bit of time. So, I finally tried out a few other backends on mac os x. I had been recommending and using TkAgg, as this works out of the box on mac os x. However, it seems unsnappy sometimes, and there was this strange issue w

Re: [Matplotlib-users] QTagg, Latex, Label problem

2007-02-07 Thread Darren Dale
On Wednesday 07 February 2007 03:17:06 am Gerhard Spitzlsperger wrote: > Hallo Darren, > > thank you very much > > Darren Dale schrieb: > >>embedding in Qt, displaying TeX within such a window and finally > >>save the plot as postscript. > > ... > > >>function, to create labels (with TeX) but the

Re: [Matplotlib-users] ANN: matplotlib-0.90.0

2007-02-07 Thread Werner F. Bruhin
Charlie Moad wrote: > On 2/7/07, Werner F. Bruhin <[EMAIL PROTECTED]> wrote: >> Hi Charlie, >> >> Great to see a new release, will put some time aside to test it with >> wxPython early next week. >> >> I can't see a reference to the wxPython backend, will it still require >> the Unicode build or ca

Re: [Matplotlib-users] ANN: matplotlib-0.90.0

2007-02-07 Thread Charlie Moad
On 2/7/07, Werner F. Bruhin <[EMAIL PROTECTED]> wrote: > Hi Charlie, > > Great to see a new release, will put some time aside to test it with > wxPython early next week. > > I can't see a reference to the wxPython backend, will it still require > the Unicode build or can one use the Ansi build and

Re: [Matplotlib-users] basemap conversion to Google Earth?

2007-02-07 Thread Jeff Whitaker
Mark Bakker wrote: > Hello - > > Can basemap help with a coversion to Google Earth coordinates and > mabye even a kmz file? > > Thanks, Mark Mark: AFAICT, google earth uses geographic coordinates (just plain lat and lon, with no map projection). Basemap could help if you have data on a map pr

Re: [Matplotlib-users] Importing Binary files

2007-02-07 Thread Matthew Brett
Hi, > if it's just a block of bytes in a standard type from and n-d array, you > can use numpy.fromfile() I should also say that I have just committed a rewrite of the binary file reading stuff to scipy, so if you have the latest scipy SVN (as of a few minutes ago), you can do something like: fr

[Matplotlib-users] basemap conversion to Google Earth?

2007-02-07 Thread Mark Bakker
Hello - Can basemap help with a coversion to Google Earth coordinates and mabye even a kmz file? Thanks, Mark - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integr

Re: [Matplotlib-users] Native file format

2007-02-07 Thread Edin Salkovic
On 2/4/07, Eric Firing <[EMAIL PROTECTED]> wrote: > Jan Strube wrote: > > Hi List, > > is there a way to store matplotlib figures in something like a native > > file format? > > I am thinking of something that keeps track of all the objects > > (patches(?)) in a mpl figure, so that later you could

Re: [Matplotlib-users] ANN: matplotlib-0.90.0

2007-02-07 Thread Werner F. Bruhin
Hi Charlie, Great to see a new release, will put some time aside to test it with wxPython early next week. I can't see a reference to the wxPython backend, will it still require the Unicode build or can one use the Ansi build and which versions of wxPython are supported? Werner -

Re: [Matplotlib-users] QTagg, Latex, Label problem

2007-02-07 Thread Gerhard Spitzlsperger
Hallo Darren, thank you very much Darren Dale schrieb: >>embedding in Qt, displaying TeX within such a window and finally >>save the plot as postscript. > ... >>function, to create labels (with TeX) but they are not displayed. > > > The example you posted works fine for me. Are you sure you