plottools
curve
generate 2-D or 3-D plot object for a curve
Calling Sequence
Parameters
Description
Examples
curve([[x1,y1], [x2, y2], ...], options)
curve([[x1, y1, z1], [x2, y2, z2], ...], options)
curve(M, options)
[x1, y1], [x2, y2], ...
-
list of points in 2-D
[x1, y1, z1], [x2, y2, z2], ...
list of points in 3-D
M
numeric Matrix or 2-D Array with 2 or 3 columns
options
(optional) equations of the form option=value. For a complete list, see plot/options and plot3d/option.
The curve command creates a two- or three-dimensional plot data object, which when displayed is a curve joining points in the specified list. The first argument to curve must be a list of points. They can be either 2-D or 3-D.
The plot data object produced by the curve command can be used in a PLOT or PLOT3D data structure, or displayed using the plots:-display command.
Remaining arguments are interpreted as options, which are specified as equations of the form option = value. For more information, see plottools, plot/options and plot3d/option.
with⁡plottools:
with⁡plots:
display⁡curve⁡0,0,3,4,color=red,linestyle=dash,thickness=2
display⁡curve⁡0,0,0,1,1,1,1,1,0,1,2,1,0,0,0,axes=frame,color=green,orientation=−70,40,thickness=3
See Also
plot/options
plot/structure
plot3d/option
plots:-display
Download Help Document