Coordinates transforms:
isoview
: isometric scale without window change
allows an isometric scale in the window of previous plots without changing the window size:
t=(0:0.1:2*%pi)'; plot2d(sin(t),cos(t)); xbasc() isoview(-1,1,-1,1); plot2d(sin(t),cos(t),-1,'001');
square
: isometric scale with resizing the window
the window is resized according to the parameters of the command.
scaling
: scaling on data
rotate
: rotation
scaling
and rotate
executes respectively an affine transform and
a geometric rotation of a 2-lines-matrix corresponding to the (x,y)
values of a set of points.
xgetech, xsetech
: change of scale inside the graphic window
The current graphic scale can be fixed by a high level plot command. You may
want to get this parameter or to fix it directly : this is the role of
xgetech, xsetech
. xsetech is a simple way to cut the
window in differents parts for different plots :
t=(0:0.1:2*%pi)'; xsetech([0.,0.,0.6,0.3],[-1,1,-1,1]); plot2d(sin(t),cos(t)); xsetech([0.5,0.3,0.4,0.6],[-1,1,-1,1]); plot2d(sin(t),cos(t));