|MATLAB Function Reference|
3-D line plot
plot3 function displays a three-dimensional plot of a set of data points.
Z1 are vectors or matrices, plots one or more lines in three-dimensional space through the points whose coordinates are the elements of
plot3(X1,Y1,Z1, creates and displays all lines defined by the
Xn,Yn,Zn,LineSpec quads, where
LineSpec is a line specification that determines line style, marker symbol, and color of the plotted lines.
plot3(...,' sets properties to the specified property values for all line graphics objects created by
h = plot3(...)
returns a column vector of handles to lineseries graphics objects, with one handle per object.
If one or more of
Z1 is a vector, the vectors are plotted versus the rows or columns of the matrix, depending whether the vectors' lengths equal the number of rows or the number of columns.
You can mix
Xn,Yn,Zn triples with
LineSpec quads, for example,
plot for information on line types and markers.
Plot a three-dimensional helix.
© 1994-2005 The MathWorks, Inc.