>>>>> "David" == David Huard <[EMAIL PROTECTED]> writes:
David> Hi John, Thanks for taking the time to answer a badly
David> formulated question. With your indications, I have been
David> able to get an example working.
Great.
David> s1.set_xlim(s2.get_xlim())
There is a nice little trick where you can make two axes share the
same xaxis. Then when you pan or zoom on one, the other is
automagically changed to
ax1 = subplot(211)
ax2 = subplot(212, sharex=ax1)
Ditto for sharey. A very useful trick!
JDH
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users