Hi,
I am still using the old "plt" package that used to be part of SciPy (
I fixed it up, kept it alive and it runs now fine with numpy).
I would really like to switch to matplotlib (using the wx backend) but
I'm having concerns regarding speed.

So I was wondering what are other people's speed benchmarks are like
-- to do something like a simple
>>> a = numpy.arange(500)
>>> mpl.plot(a)

I timed it and it took something like 50ms for a repeat of the plot command.
With my plt plotting package it is probably 10-50x faster.

I want to interactively plot and update (using the clear and plot
commands) things like image "line profiles" i.e. 512 points graphs.
Another example is that I started playing with ODEs (like
http://www.scipy.org/LoktaVolterraTutorial) and tried to make a small
gui to (like a Trait slider) for some parameters and the plotting
would make it completely unresponsive (plt worked again very fast --
super ugly, but fast ;-) )

Is there a special way to update plots very fast, i.e. faster than
clr();plot(...) ?

Regards,
Sebastian Haase

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to