Re: [Matplotlib-users] problem realtime plot

2007-04-23 Thread Matthias Michler
Hi Jan, I'm not sure about the reason, but your little example runs for me using several backends (GtkAgg, TkAgg, WxAgg). I'm using Debian (kernel 2.6) and matplotlib 0.90.0 at revison 3131. Maybe it could help to add some more 'draw()' commands after plotting and reseting data - not really

[Matplotlib-users] problem realtime plot

2007-04-22 Thread Jan Winter
hi, I tried to plot in realtime: from pylab import * import time ion() x=arange(0,2*pi,.01) line,=plot(x,sin(x)) for i in arange(1,20): line.set_ydata(sin(x+i/10.0)) draw() but nothing happens when the script runs. I just see the last plot after the script has finished. Only a grey