curve - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.
Our website is currently undergoing maintenance, which may result in occasional errors while browsing. We apologize for any inconvenience this may cause and are working swiftly to restore full functionality. Thank you for your patience.

Online Help

All Products    Maple    MapleSim


plottools

  

curve

  

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

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

curve([[x1,y1], [x2, y2], ...], options)

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

curve(M, options)

Parameters

[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.

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/option.

Examples

withplottools:

withplots:

displaycurve0,0,3,4,color=red,linestyle=dash,thickness=2

displaycurve0,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

plottools