DataSets[Builtin][WorldMap] - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Statistics and Data Analysis : DataSets Package : Builtin : WorldMap : DataSets/Builtin/WorldMap/AddPoints

DataSets[Builtin][WorldMap]

  

AddPoints

  

insert a list of points all at once into a WorldMap object

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

AddPoints(m,ref)

AddPoints(m,plist)

Parameters

m

-

a WorldMap object

ref

-

a Reference to the GeoNames dataset

plist

-

a nested list representing a list of points

plotopts

-

(optional) plot options for all points in plist

Description

• 

The AddPoints command bulk inserts points into m.

• 

If ref is given, all points in ref get inserted into m.

• 

If plist is given, each point in plist must be a list of either two or three elements. The first element is the longitude (x-coordinate in the Geographic projection), and the second element 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].

• 

If you want to insert multiple points into a WorldMap object, it is more efficient to use AddPoints than calling AddPoint multiple times for the same functionality.

• 

plotopts specify how all points in plist get displayed. By default, all points are displayed as black asterisks.

Examples

mDataSets:-Builtin:-WorldMap

mPLOT...A map of the worldprojection: MillerCylindrical

(1)

AddPointsm,10,10,a,10,10,b,10,10,c,10,10,d,symbol=box

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

(2)

Displaym

Compatibility

• 

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

• 

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

See Also

AddPoint

RemovePoint

WorldMap