Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.4.0 - Русский

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

Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
However, this page did not exist in the previous stable version.

Scilab help >> Graphics > square

square

set scales for isometric plot (change the size of the window)

Calling Sequence

square(xmin,ymin,xmax,ymax)

Arguments

xmin,xmax,ymin,ymax

four real values

Description

square is used to have isometric scales on the x and y axes. The requested values xmin, xmax, ymin, ymax are the boundaries of the graphics frame and square changes the graphics window dimensions in order to have an isometric plot. square set the current graphics scales and can be used in conjunction with graphics routines which request the current graphics scale (for instance fstrf="x0z" in plot2d).

Examples

t=[0:0.1:2*%pi]';
plot2d(sin(t),cos(t))
clf()
square(-1,-1,1,1)
plot2d(sin(t),cos(t))

See Also

  • isoview — set scales for isometric plot (do not change the size of the window)
  • xsetech — set the sub-window of a graphics window for plotting
Report an issue
<< show_pixmap Graphics twinkle >>

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:
Mon Oct 01 17:41:09 CEST 2012