On 2 February 2012 08:32, Fabien Lafont <lafont.fab...@gmail.com> wrote:
> Hello!
>
> How can I zoom exactly on the same region on two different subplots at
> the same time. This option is enable when I use plotfile but not if I
> use plot, and subplots?

Create the first axes object, then when you create subsequent ones,
pass the first as the value of the sharex and sharey keywords to the
subplot or add_axes command.
See this page [1] for a quick example.

Angus

[1] 
http://matplotlib.sourceforge.net/users/recipes.html?highlight=sharex%20subplot

> Thx!
> Fabien
>
> ------------------------------------------------------------------------------
> Keep Your Developer Skills Current with LearnDevNow!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-d2d
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users



-- 
AJC McMorland
Post-doctoral research fellow
Neurobiology, University of Pittsburgh

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to