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 - 日本語 - Русский

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

Scilab Help >> Graphics > axes_operations > square


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


square(xmin, ymin, xmax, ymax)


xmin, xmax, ymin, ymax

four real values.


This function is obsolete. It will be removed in Scilab 6.1.
Please replace square(a,b,c,d) with gcf().axes_size = [n n]; replot([a b c d]) where n is the size in pixels of the desired graphic square window. This replacement can be extended to any existing graphic window, not only the current one.

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 sets the current graphics scales and can be used in conjunction with graphics routines which request the current graphics scale (for instance strf="x0z" in plot2d).



See also

  • isoview — tunes isometric rendering of graphical axes
  • xsetech — set the sub-window of a graphics window for plotting


6.0 square() is tagged as obsolete. It will be removed from Scilab 6.1
Scilab Enterprises
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Mon Feb 12 19:26:50 CET 2018