Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes

Change language to:
Français - 日本語 - Português

Please note that the recommended version of Scilab is 6.1.1. This page might be outdated.
See the recommended documentation of this function

Scilab manual >> Graphics Library > axes_operations > unzoom

unzoom

unzoom graphics

Calling Sequence

unzoom()
unzoom(H)

Arguments

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()

Authors

Serge Steer INRIA

Jean-Baptiste Silvy INRIA

<< subplot axes_operations zoom_rect >>

Copyright (c) 2022-2023 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Wed Jan 26 16:23:44 CET 2011