Simone Gabbriellini wrote:
> I see that you first build your array and then display it at the end...
> 
> is it possible in matplotlib to update the plot while the class is
> evolving? like:
> 
> f.evolve(6)
> f.display()
> f.evolve(.27)
> f.display()
> f.evolve(10)
> f.display()
> f.evolve(2)
> f.display()

You'd want to look at the animation examples in examples/animation.  The exact
details will depend upon what backend you want to use, but strip_chart_demo.py,
simple_anim_gtk.py, and gtk_timeout.py are good places to start.

HTH,

Ryan

-- 
Ryan May
Graduate Research Assistant
School of Meteorology
University of Oklahoma

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to