[Matplotlib-users] plot a data stream with matplotlib

2009-01-18 Thread Simone Gabbriellini
best regards, simone gabbriellini -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Matpl

Re: [Matplotlib-users] plot a data stream with matplotlib

2009-01-18 Thread Simone Gabbriellini
om pylab import * > plot(times, traitA, times, traitB, times, traitC) > show() > > although, while looking for a simple example, I found this: > > http://matplotlib.sourceforge.net/examples/pylab_examples/plotfile_demo.html > > which is not totally simple but looks great

Re: [Matplotlib-users] plot a data stream with matplotlib

2009-01-19 Thread Simone Gabbriellini
volve(6); f.evolve(.27);f.evolve(10);f.evolve(2) >print f.history >f.display() > > On Jan 18, 2009, at 3:18 PM, Simone Gabbriellini wrote: > >> thanks, it is exactly what I need... I have undestood the logic, I >> build a plot, put my traits values into an arra

Re: [Matplotlib-users] plot a data stream with matplotlib

2009-01-20 Thread Simone Gabbriellini
Ryan, > 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. I tried the strip_chart_demo.py, which is my case, but at

Re: [Matplotlib-users] plot a data stream with matplotlib

2009-01-20 Thread Simone Gabbriellini
# redraw the canvas print 'FPS:' , 200/(time.time()-tstart) best regards, simone 2009/1/20 Simone Gabbriellini : > Ryan, > >> You'd want to look at the animation examples in examples/animation. The >> exact >> details will depend upon what bac

Re: [Matplotlib-users] plot a data stream with matplotlib

2009-01-23 Thread Simone Gabbriellini
that's nice!!! thank you... anyway, I wanted to take advantage of the Traits implementation of my app... simone 2009/1/23 eliben : > > > > Simone Gabbriellini-3 wrote: >> >> Dear List, >> >> I have some variables I want to plot... the values of those v

[Matplotlib-users] help visualizing plots

2009-02-16 Thread Simone Gabbriellini
dear list, can someone tell me why I don't see anything when I run this script? it is a modified version of the traits example... I expected to see three plots with one line each... from enthought.traits.api import HasTraits, Instance, Range, Array, on_trait_change, Property,cached_property, Bool