plottools - Maple Help

Online Help

All Products    Maple    MapleSim


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

plottools

  

point

  

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

 

Calling Sequence

Parameters

Options

Description

Examples

Calling Sequence

point(p, opts)

point(m, opts)

point(v1, v2, opts)

point(v1, v2, v3, opts)

Parameters

p

-

list containing a single point

m

-

Matrix or list of lists containing one or more points

v1, v2, v3

-

Vectors or lists containing x-, y- and z-coordinates of points

opts

-

optional equations as described in the Options section

Options

• 

color : color of points or list of colors

• 

legend : legend entry associated with points

• 

symbol : symbol used for display of points

• 

symbolsize : size of symbol representing a point

Description

• 

The point command creates a plot data object, which when displayed is a point or collection of points.

• 

For a d-dimensional plot, where d is 2 or 3, p must contain d elements. Similarly, m must be an n by d Matrix or a list with n sublists of length d, where n is the total number of points. If Vectors are provided, then the third calling sequence, with parameters v1 and v2, is used for a 2-D plot. The fourth calling sequence, with the additional Vector v3, is used for a 3-D plot.

• 

The plot data object produced by the point command can be 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.

• 

The symbol=s option specifies the symbol for points in the plot, where the value s  is one of asterisk, box, circle, cross, diagonalcross, diamond, point, solidbox (2-D plot only), solidcircle (2-D plot only), soliddiamond (2-D plot only), solidsphere (3-D plot only), or sphere (3-D plot only). Note: If the style option is set to point, the default symbol is plot device specific.

  

The symbolsize=n option specifies the size (in points) of a symbol used in plotting, where n is a positive integer. This does not affect the symbol point. The default symbol size is 10.

Examples

withplottools:

withplots:

Lpoint0,0,color=black,symbol=cross,symbolsize=25,point1,1,color=red,symbolsize=25,symbol=box,point1,0,color=brown,symbolsize=25,symbol=circle,point12,12,color=blue,symbolsize=25,symbol=diamond,point0,1,color=magenta,symbolsize=25,symbol=diamond:

displayL,axes=boxed,view=1..2,1..2

Lpoint0,0,0,color=blue,symbol=box,symbolsize=50,point0,0,1,color=red,symbol=cross,symbolsize=50,point0,1,0,color=black,symbol=diamond,symbolsize=50:

displayL,axes=boxed,view=1..1,1..1,1..1,orientation=125,65

See Also

plot/options

plot3d/options

plots[display]

plottools

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam