RemovePath - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


DataSets[Builtin][WorldMap]

  

RemovePath

  

remove one or more great circle path(s) from a WorldMap object

 

Calling Sequence

Parameters

Options

Description

Examples

Compatibility

Calling Sequence

RemovePath(m,p1,p2,option)

RemovePath(m,ref1,ref2,option)

Parameters

m

-

a WorldMap object

p1,p2

-

a list representing a point

ref1,ref2

-

a Reference to the GeoNames dataset

option

-

(optional) keyword option of the form option=value, where option can be endpoints 

Options

• 

endpoints : truefalse; determines whether or not the two points are added to the list of points that m stores. By default, endpoints is set to true.

Description

• 

The RemovePath command removes all paths which connect the two specified end points.

• 

If p1 and p2 are given, both p1 and p2 must be lists 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.

• 

If ref1 and ref2 are given, both ref1 and ref2 must contain exactly one row, so they each corresponds to exactly one point.

Examples

> 

m≔DataSets:-Builtin:-WorldMap⁡

m≔PLOT⁡...A map of the worldprojection: MillerCylindrical

(1)
> 

AddPath⁡m,0,0,−100,40

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

(2)
> 

AddPath⁡m,0,45,0,0

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

(3)
> 

Display⁡m

> 

RemovePath⁡m,0,0,0,45

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

(4)
> 

ResetView⁡m

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

(5)
> 

Display⁡m

Compatibility

• 

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

• 

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

See Also

AddPath

WorldMap