AddPoint - 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

DataSets[Builtin][WorldMap]

  

AddPoint

  

insert a point into a WorldMap object

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

AddPoint(m,p,plotopts)

Parameters

m

-

a WorldMap object

p

-

a list representing a point

plotopts

-

(optional) plot options for p

Description

• 

The AddPoint command inserts the point p into m.

• 

p must be a list of either two or three elements. The first element in p is the longitude (x-coordinate in the Geographic projection), and the second element in p is the latitude (y-coordinate in the Geographic projection). The optional third element is a string label for the point.

• 

The longitude must lie in the interval [-180,180], and the latitude must lie in the interval [-90,90].

• 

plotopts specify how each individual point gets displayed in 2D projections. This option is ignored when visualizing the resulting map in 3D. By default, a point is displayed as a black asterisk.

Examples

mDataSets:-Builtin:-WorldMap

mPLOT...A map of the worldprojection: MillerCylindrical

(1)

Add a point with a label:

AddPointm,80.52,43.47,Waterloo,symbol=solidcircle

PLOT...A map of the world with 1 pointprojection: MillerCylindrical

(2)

Add another point without a label:

AddPointm,100,45,symbol=solidcircle,symbolsize=20,color=OrangeRed

PLOT...A map of the world with 2 pointsprojection: MillerCylindrical

(3)

Displaym

Compatibility

• 

The DataSets[Builtin][WorldMap][AddPoint] command was introduced in Maple 2017.

• 

For more information on Maple 2017 changes, see Updates in Maple 2017.

See Also

AddPoints

RemovePoint

WorldMap

 

 


Download Help Document