On Feb 20, 2008 6:30 AM, Nick Granger-Brown <[EMAIL PROTECTED]> wrote: > > > I would like to plot two or three graphs as subplots in a figure and control > the axes such that when one graph is zoomed the others are adjusted too. I > was hoping there would be a notification mechanism which would allow me to > catch a rescaling of one subplot and redraw the others in step. Can anyone > suggest a method of doing this?
ax1 = fig.add_subplot(211) ax1.plot(something) ax2 = fig.add_subplot(212, sharex=ax1) # ditto for sharey ax2.plot(something_else) JDH ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users