Le mardi 10 juin 2008 à 09:27 -0400, Tony S Yu a écrit :
> Wow, a question I can actually answer:
> 
> ax1 = subplot(211)
> ax2 = subplot(212)
> ax1.plot([1,2,3])
> ax2.plot([4,3,2])
> ax1.plot([3,2,1])

I do prefer Tony's solution, but in a more pylab'ic (matlab'ic) way,
there is also:

gcf().get_axes()[N].plot(...)

where N is the subplot you wan to access (starting from N=0).


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to