zoom subfigure

Dear list, does anyone know an easy way to zoom a part of a

    > canvas and put it in a new axes, like is done in the demo
    > of axes?
    > http://matplotlib.sourceforge.net/screenshots/axes_demo_small.png

No easy way... One could hack it out by transfering ax.lines,
ax.patches, etc from the src to the dest and then using the zoom rect
to define the new xlim/ylim, but there is nothing built in.

JDH

Thanks John,

just for your and the list's information: it could be done rather easy
in my case. I just want to zoom to a small part of the x axis: find the
right data and plot it on the new axes. This way it is not a matplotlib
problem, but mine;)

Regards,
Joost

···

On Tue, 2005-11-01 at 22:01 -0600, John Hunter wrote:

    > Dear list, does anyone know an easy way to zoom a part of a
    > canvas and put it in a new axes, like is done in the demo
    > of axes?
    > http://matplotlib.sourceforge.net/screenshots/axes_demo_small.png

No easy way... One could hack it out by transfering ax.lines,
ax.patches, etc from the src to the dest and then using the zoom rect
to define the new xlim/ylim, but there is nothing built in.

JDH

--
Joost van Evert

Information and Communication Theory Group (ICT)
Department of Mediamatica (MM)
Faculty of Electrical Engineering, Mathematics and Computer Science
(EEMCS)
Delft University of Technology (TUD)

Mekelweg 4
Office: HB11.110
2628 CD Delft,
the Netherlands
Phone: +31 (0) 15 - 27 85436
Mobile: +31 (0) 6 - 41 11 56 84

Email: j.g.vanevert@...871...
Url: http://ict.ewi.tudelft.nl/~joost