Name

unzoom — unzoom graphics

Calling Sequence

unzoom()
unzoom(H)

Parameters

H

A vector of Figure or Axes handle.

Description

unzoom() is used to remove the zoom effect for all the axes of the current graphic figure:

unzoom(H) is used to remove the zoom effect for all the Figures and Axes given by the vector of handles H. Removing zoom effect for a Figure is the equivalent of removing zoom effect on all its Axes children.

Examples

 
clf()
x=0:0.01:6*%pi;
plot2d(x,sin(x^2))
zoom_rect([16,-1,18,1])
unzoom()

//subplots accordingly
clf()
x=0:0.01:6*%pi;
subplot(211)
plot2d(x,cos(x))
a1=gca();
subplot(212)
plot2d(x,cos(2*x))
a2=gca();
rect=[3 -2 7 10]; // a rectangle specified in the current axes (last one) coordinates
zoom_rect(rect) 
unzoom(a1) // unzoom first plot only
unzoom(a2) // unzoom second plot only
zoom_rect(rect) // zoom again
unzoom(gcf()) // unzoom all the axes, equivalent to unzoom()
 

See Also

zoom_rect , axes_properties

Authors

Serge Steer INRIA

Jean-Baptiste Silvy INRIA