Hello,
I'm new in matplotlib, but I have became a fat!
First of all, I have to apologize for my bad English, I hope you can
understand what I mean.
Making some programs I have found the same problem:
-What I want? I want to plot two sets of changing data using the same
windows.
-The problem? My code is:
-----------------------
x,y = evol.plot_init()
pylab.ion()
pylab.subplot(211)
line,=pylab.plot(x[0],x[1])
pylab.draw()
pylab.ylabel('Posiciones')
for k in pylab.arange(Nt):
x, y = evol.plot_step()
line.set_ydata(x[1])
pylab.draw()
pylab.subplot(212)
line,=pylab.plot(y[0],y[1])
pylab.draw()
pylab.ylabel('Momentos')
for k in pylab.arange(Nt):
x, y = evol.plot_step()
line.set_ydata(y[1])
pylab.draw()
---------------------------------------------------------------------
And if you run this, one draw and anim is done first, you have to wait
it to stop, and then you can see the other want.
The thing is that I want that the two anim figures runs at the same time.
Any idea?
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users