axis — Sets ot gets the axis limits of a 2D or 3D graph
vect = axis(value)
string or 1 by n vector, n=4 or n=6
4-vector [XMIN XMAX YMIN YMAX] or 6-vector [XMIN XMAX YMIN YMAX ZMIN ZMAX]
To get the axis limits, use the syntax : AX=axis()
To set the axis limits, use the property 'axis' in a plot command e.g. plot(X,Y,'axis',value) or after a plot use the syntax axis(value)
Value can be :
a 4-vector [XMIN XMAX YMIN YMAX] or 6-vector [XMIN XMAX YMIN YMAX ZMIN ZMAX] then the plot limits are fixed to the given limits.
a string
The allowed strings are Common 2D/3D values
'equal' (isometric scale)
'off' (no axis is drawn)
'box' (a box enclosing the plot without ticks
'tight' (he graph fits tightly the axis limits)
'left' (the y axis is displayed on the left)
'right' (the y axis is displayed on the right)
'center' (the x and y axis cross at the center of the plot box)