Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
2025.0.0 - Français


unzoom

unzoom graphics

Syntax

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

See also

  • zoom_rect — zoom a selection of the current graphic figure
  • axes_properties — description of the axes entity properties
Report an issue
<< subplot axes_operations xgrid >>

Copyright (c) 2022-2024 (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:
Thu Oct 24 11:15:59 CEST 2024