[Matplotlib-users] subplots with linked axes

2008-02-20 Thread Nick Granger-Brown
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

Re: [Matplotlib-users] subplots with linked axes

2008-02-20 Thread Michael Droettboom
It sounds like what you want is to use the shared axis functionality. See the shared_axis_demo.py http://matplotlib.sourceforge.net/examples/shared_axis_demo.py Cheers, Mike Nick Granger-Brown wrote: I would like to plot two or three graphs as subplots in a figure and control the axes such

Re: [Matplotlib-users] subplots with linked axes

2008-02-20 Thread Nick Granger-Brown
: matplotlib-users@lists.sourceforge.net Subject: Re: [Matplotlib-users] subplots with linked axes It sounds like what you want is to use the shared axis functionality. See the shared_axis_demo.py http://matplotlib.sourceforge.net/examples/shared_axis_demo.py Cheers, Mike Nick Granger-Brown wrote: I