plottools - Maple Programming Help

Home : Support : Online Help : Graphics : Packages : Plot Tools : plottools/curve

plottools

 curve
 generate 2-D or 3-D plot object for a curve

 Calling Sequence curve([[x1,y1], [x2, y2], ...], options) curve([[x1, y1, z1], [x2, y2, z2], ...], options)

Parameters

 [x1, y1], [x2, y2], ... - list of points in 2-D [x1, y1, z1], [x2, y2, z2], ... - list of points in 3-D options - (optional) equations of the form option=value. For a complete list, see plot/options and plot3d/options.

Description

 • 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/options.

Examples

 > $\mathrm{with}\left(\mathrm{plottools}\right):$
 > $\mathrm{with}\left(\mathrm{plots}\right):$
 > $\mathrm{display}\left(\mathrm{curve}\left(\left[\left[0,0\right],\left[3,4\right]\right],\mathrm{color}=\mathrm{red},\mathrm{linestyle}=\mathrm{dash},\mathrm{thickness}=2\right)\right)$
 > $\mathrm{display}\left(\mathrm{curve}\left(\left[\left[0,0,0\right],\left[1,1,1\right],\left[1,1,0\right],\left[1,2,1\right],\left[0,0,0\right]\right]\right),\mathrm{axes}=\mathrm{frame},\mathrm{color}=\mathrm{green},\mathrm{orientation}=\left[-70,40\right],\mathrm{thickness}=3\right)$