Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: Français - Português - Русский - 日本語
Scilab Help >> Graphics > axes_operations > zoom_auto

zoom_auto

Zoom automatically to the visible values of all axes of the figure

Syntax

zoom_auto()
zoom_auto(h)

Parameters

h:

A Figure or Axes handle to zoom automatically

Description

This function update the zoom_box of all axes of the figure when there is some zoom applied to it or update the data bounds otherwise. After the call the user will be able to view all visible data even if mis-configured something.

Examples

plot3d();
a=gca();
// hide some data to the user
a.data_bounds = [-1 -1 -0.5 ; 1 1 0.5]
sleep(1000)
// let the user view the whole dataset
zoom_auto()

History

VersionDescription
5.5.3 Function zoom_auto introduced.
Scilab Enterprises
Copyright (c) 2011-2015 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Wed Jun 15 08:27:39 CEST 2016