Re: [Matplotlib-users] float argument required

2009-03-23 Thread Jouni K . Seppänen
Pau vim.u...@googlemail.com writes: I have made a plot and, when I try to save it as eps/ps, I get the error float argument required in a pop-up window, whilst the terminal shows this error message: /usr/local/lib/python2.5/site-packages/matplotlib/backends/backend_gtk.py:1054: GtkWarning:

[Matplotlib-users] 3D plots

2009-03-23 Thread Etienne Gaudrain
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 is very slow today (...). Anyway, here is my question: Is it right that Matplotlib can no longer plot 3D graphes? The

Re: [Matplotlib-users] On changing the default tick pad

2009-03-23 Thread Michael Droettboom
I tend to agree -- but worry that such a global change may have unintended consequences. I'm pretty tight on time at the moment, but one way to test this theory would be to run examples/test/backend_driver.py with the new settings. This will generate output for most of the examples. Then

Re: [Matplotlib-users] float argument required

2009-03-23 Thread Michael Droettboom
Try switching to the Ps backend by putting: import matplotlib matplotlib.use(ps) at the top of your script. That will take gtk and its popup windows out of the equation. After doing that, you should get a traceback at the terminal that should help narrow this down. At this point we can only

Re: [Matplotlib-users] 3D plots

2009-03-23 Thread Jouni K . Seppänen
Etienne Gaudrain et.gaudr...@free.fr writes: 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 is very slow today (...). I don't think the Sourceforge search has ever been very

Re: [Matplotlib-users] 3D plots

2009-03-23 Thread Gary Ruben
Hi Etienne, Sorry to hear about your disappointment. You can read about the attempt to resurrect the 3D plotting capabilities here: http://www.nabble.com/Updating-MPlot3D-to-a-more-recent-matplotlib.-td22302256.html Unfortunately, this doesn't help you right now. Depending on the type of 3D

Re: [Matplotlib-users] 3D plots

2009-03-23 Thread Etienne Gaudrain
Thanks a lot for the link, and for the suggestions! I will probably give a go to Mayavi2, but given how heavy it seems to be (compared to matplotlib) it probably requires some custom wrapping... which means again a lot time investment... thanks for the tips anyway! Cheers, -Etienne Gary

Re: [Matplotlib-users] 3D plots

2009-03-23 Thread Etienne Gaudrain
Thanks for all these pointers! I am well aware and respectful of the open source philosophy, and please do not see a criticism toward the work of the developers in my e-mail... just a lost user seeking advice, wanting to understand what happened to catch the train I apparently missed during the

[Matplotlib-users] Removing the white border around graph

2009-03-23 Thread Lion Krischer
Hi, I have a newbie question regarding matplotlib. I want to plot a graph without the white border around it. I googled a lot but didn't find anything useful. The following code produces a graph without any ticks and it also makes the white border around the graph transparent. ##

Re: [Matplotlib-users] 3D plots

2009-03-23 Thread Barry Wark
On Mon, Mar 23, 2009 at 6:11 AM, Etienne Gaudrain et.gaudr...@free.fr wrote: Thanks a lot for the link, and for the suggestions! I will probably give a go to Mayavi2, but given how heavy it seems to be (compared to matplotlib) it probably requires some custom wrapping... which means again a

Re: [Matplotlib-users] 3D plots

2009-03-23 Thread Andy Buckley
Barry Wark wrote: On Mon, Mar 23, 2009 at 6:11 AM, Etienne Gaudrain et.gaudr...@free.fr wrote: Thanks a lot for the link, and for the suggestions! I will probably give a go to Mayavi2, but given how heavy it seems to be (compared to matplotlib) it probably requires some custom wrapping...

Re: [Matplotlib-users] 3D plots

2009-03-23 Thread Etienne Gaudrain
Thanks Barry. I still don't know whether I want to use Gnuplot.py or Mayavi. Gnuplot is built on a very stable base, so I would be sure to have few surprises with future developments. But maybe it is too old and will not pass the Python3k step... I gave a look to Mayavi, and the start is

Re: [Matplotlib-users] 3D plots

2009-03-23 Thread Etienne Gaudrain
Waouuuh ! These screenshots look awsome ! A shame this package is not in my Ubuntu repository. I'm a bit lazy, and I want a long-term solution, which supposes auto-update... -Etienne Andy Buckley wrote: You might also be interested in Nicholas Rougier's SciGL project, which (IIRC) was

Re: [Matplotlib-users] 3D plots

2009-03-23 Thread Etienne Gaudrain
Ok, I'll go for Mayavi. I am reasonably impressed by the demos. I haven't been to far into the documentation and I hop I won't regret my choice. But it looks great so far. Thanks for your help !! -Etienne Etienne Gaudrain wrote: Hello list ! This is probably a recurrent topic, or even

Re: [Matplotlib-users] How to get the coordinates (picker)

2009-03-23 Thread Christopher Brown
Hi Xavier, XG I'm trying to write a pyqt4 application including pylab plotting XG capabilities. XG Up to now, it looks like this (see in attachment). XG XG The picker works fine (I get the msg) *but* I also would like to get XG the (x,y) coordinates and the the corresponding value A[x,y]. XG

Re: [Matplotlib-users] 3D plots

2009-03-23 Thread Cohen-Tanugi Johann
http://gael-varoquaux.info/physics/slides_Scipy2007.pdf for a good intro to the high level mayavi API. Johann Etienne Gaudrain wrote: Ok, I'll go for Mayavi. I am reasonably impressed by the demos. I haven't been to far into the documentation and I hop I won't regret my choice. But it

[Matplotlib-users]   gnuplot.py use: does no t recognize 'aqua' Term.

2009-03-23 Thread Lou Pecora
I have a question about gnuplot. This may not be the place to ask this, but I don't know where else (yes, I googled for a Python forum on gnuplot, but didn't see any -- could have missed it) Several people have recommended gnuplot (and gnuplot.py) in this email list for 3D plotting (now

[Matplotlib-users] Matplotlib and contour graphs and pyqt

2009-03-23 Thread Deltarodigy
For the past few days I have been trying to get contour graphs working in my pyqt files. I am lost at trying to implement the actual plot. How is it that I can do this, so far I can only get axes to show in the window. http://code.google.com/p/scc08/source/browse/#svn/branch/realistic2d is where

[Matplotlib-users] Animate contour plot and color bar

2009-03-23 Thread Deltarodigy
For my program I have been trying to animate a contour plot, the color bar, and a subtitle saying what time step it is. I have gotten the graph to write over itself but cannot get it clear the screen properly. Currently using the clf function the wipe is visible messing with animation. Here is a

Re: [Matplotlib-users] Animate contour plot and color bar

2009-03-23 Thread Eric Firing
Deltarodigy wrote: For my program I have been trying to animate a contour plot, the color bar, and a subtitle saying what time step it is. I have gotten the graph to write over itself but cannot get it clear the screen properly. Currently using the clf function the wipe is visible messing with

Re: [Matplotlib-users] Animate contour plot and color bar

2009-03-23 Thread Deltarodigy
efiring wrote: Deltarodigy wrote: For my program I have been trying to animate a contour plot, the color bar, and a subtitle saying what time step it is. I have gotten the graph to write over itself but cannot get it clear the screen properly. Currently using the clf function the wipe

Re: [Matplotlib-users] Animate contour plot and color bar

2009-03-23 Thread Eric Firing
Deltarodigy wrote: efiring wrote: Deltarodigy wrote: For my program I have been trying to animate a contour plot, the color bar, and a subtitle saying what time step it is. I have gotten the graph to write over itself but cannot get it clear the screen properly. Currently using the clf

Re: [Matplotlib-users] Animate contour plot and color bar

2009-03-23 Thread Deltarodigy
Ok so I have been looking into the Figure class and I still not clear on how figure works. Does it contain all of the normal functions that are in pylab? Does it just contain axes which are are where the graphs are, like subplots in pylab? Do I need to use figure inside of wx widgets or other