set scales for isometric plot (change the size of the window)
square(xmin,ymin,xmax,ymax)
:xmin,xmax,ymin,ymax four real values :
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).
t=[0:0.1:2*%pi]';
`plot2d`_(`sin`_(t),`cos`_(t))
`clf`_()
square(-1,-1,1,1)
`plot2d`_(`sin`_(t),`cos`_(t))