Section: Handle-Based Graphics
plot3(X,Y,Z,{linespec 1},X,Y,Z,{linespec 2},...,properties...)
where X
Y
and Z
are the coordinates of the points on the
3D line. Note that in general, all three should be vectors. If
some or all of the quantities are matrices, then FreeMat will attempt
to expand the vector arguments to the same size, and then generate
multiple plots, one for each column of the matrices. The linespec
is optional, see plot
for details. You can specify properties
for the generated line plots. You can also specify a handle as an
axes to target
plot3(handle,...)
--> t = linspace(0,5*pi,200); --> x = cos(t); y = sin(t); z = t; --> plot3(x,y,z); --> view(3); --> quit
Shown here