<< Axes properties Matlab-like plotting library caxis >>

Matlab-like plotting library >> Matlab-like plotting library > axis

axis

Sets ot gets the axis limits of a 2D or 3D graph

Calling Sequence

vect = axis(value)

Parameters

value

string or 1 by n vector, n=4 or n=6

vect

4-vector [XMIN XMAX YMIN YMAX] or 6-vector [XMIN XMAX YMIN YMAX ZMIN ZMAX]

Description

To get the axis limits, use the syntax : AX=axis()

To set the axis limits after a plot use the syntax : axis(value)

Value can be :

Examples

t=linspace(0,2*%pi,63);
plot(cos(t),sin(t));
axis equal
plot(cos(t),sin(t));
axis([0 1 0 1]);

See Also

Authors


Report an issue
<< Axes properties Matlab-like plotting library caxis >>