Re: [Matplotlib-users] executing function when view interval changes

2009-02-11 Thread John Hunter
On Wed, Feb 11, 2009 at 2:49 PM, Ryan May wrote: > You're looking for 'xlim_changed' and 'ylim_changed'. > > I know this can be found here: > http://matplotlib.sourceforge.net/api/axes_api.html > > Should we add this to > http://matplotlib.sourceforge.net/users/event_handling.html ? We should -

Re: [Matplotlib-users] animating contour, contourf, pcolor, etc.

2009-02-11 Thread Eric Firing
Gideon Simpson wrote: > If I have a line that I want to animate, I can clearly write: > > lineu, = plot(x,u) > draw() > > for p in range(0, N): > lineu.set_ydata(u) > draw() > > Is there an analogue to set_ydata for things plots like contour, > contourf, etc.? > No, as presently implem

[Matplotlib-users] animating contour, contourf, pcolor, etc.

2009-02-11 Thread Gideon Simpson
If I have a line that I want to animate, I can clearly write: lineu, = plot(x,u) draw() for p in range(0, N): lineu.set_ydata(u) draw() Is there an analogue to set_ydata for things plots like contour, contourf, etc.? -gideon --

Re: [Matplotlib-users] executing function when view interval changes

2009-02-11 Thread Ryan May
On Wed, Feb 11, 2009 at 2:34 PM, Thomas Robitaille < thomas.robitai...@gmail.com> wrote: > Hi everyone, > > I wish to execute a certain function every time the view interval of > a figure is updated, for example when it is changed interactively > using the zoom rectangle or home button in WXAgg. M

[Matplotlib-users] executing function when view interval changes

2009-02-11 Thread Thomas Robitaille
Hi everyone, I wish to execute a certain function every time the view interval of a figure is updated, for example when it is changed interactively using the zoom rectangle or home button in WXAgg. Matplotlib must already be calling certain routines, such as the tick locator and formatters

Re: [Matplotlib-users] Plotting None value with dates goes in "maximum recursion depth exceeded"?

2009-02-11 Thread Sandro Tosi
On Wed, Feb 11, 2009 at 20:13, Ryan May wrote: > On Wed, Feb 11, 2009 at 12:56 PM, Sandro Tosi wrote: >> >> Hello, >> I got a script (attached, even if without the datafile has less >> meaning) that parses a log file and plots 3 datasets. With 0.98.5.3 I >> got this error >> RuntimeError: maximum

[Matplotlib-users] nice article on using MPL and basemap to display images from NASA

2009-02-11 Thread Andrew Straw
I just ran across this, which looks really nice. The author shows how to use MPL and basemap to download satellite images from the recent fires in Australia and overlay that with recent thermal hotspot data. http://pyevolve.sourceforge.net/wordpress/?p=86 -

Re: [Matplotlib-users] Plotting None value with dates goes in "maximum recursion depth exceeded"?

2009-02-11 Thread Ryan May
On Wed, Feb 11, 2009 at 12:56 PM, Sandro Tosi wrote: > Hello, > I got a script (attached, even if without the datafile has less > meaning) that parses a log file and plots 3 datasets. With 0.98.5.3 I > got this error > RuntimeError: maximum recursion depth exceeded > > I see the same behavior in

Re: [Matplotlib-users] matplotlib.mlab PCA analysis

2009-02-11 Thread Marjolaine Rouault
Hi, Thanks a lot for your comments. I did try earlier on to remove the bad points but came across some problems when re-ordering my array. I will try out the method sent to me and check the reference. Regards, Marjolaine. >>> 02/11/09 4:06 PM >>> Marjolaine, I am assuming your masked arra

[Matplotlib-users] Plotting None value with dates goes in "maximum recursion depth exceeded"?

2009-02-11 Thread Sandro Tosi
Hello, I got a script (attached, even if without the datafile has less meaning) that parses a log file and plots 3 datasets. With 0.98.5.3 I got this error $ ./ddc_graph.py Traceback (most recent call last): File "./ddc_graph.py", line 39, in rc_plot = ax.plot_date(DATES, RC, '-') File "/

[Matplotlib-users] os x backend

2009-02-11 Thread Gideon Simpson
command-w does not seem to close the window. -gideon -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build res