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])

Best,
-Tony

On Jun 10, 2008, at 9:09 AM, Mark Bakker wrote:

> Hello list -
>
> I want to plot something in two subplots, then add something to the  
> first subplot.
> How do I select the first subplot after I have plotted on the second  
> subplot?
>
> For example:
> subplot(211)
> plot([1,2,3])
> subplot(212)
> plot([4,3,2])
>
> Now I want to add something to the first subplot.
> So I thought I could do subplot(211) again, but that destroys the  
> subplot.
> Any suggestions?
>
> Thanks, Mark
> -------------------------------------------------------------------------
> 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


-------------------------------------------------------------------------
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