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/Display

DataSets[Builtin][WorldMap]

  

Display

  

create and display a plot for a WorldMap object

 

Calling Sequence

Parameters

Options

Description

Examples

Compatibility

Calling Sequence

Display(m)

Display(m,options,plotopts)

Parameters

m

-

a WorldMap object

options

-

(optional) keyword options of the form option=value, where option can be colorantarctica, colors, grid, projection, watercolor, or mapdata

plotopts

-

(optional) standard keyword plot options, as explained on the plot,options help page

Options

• 

colors : specifies the set of colors that are used for the plot. colors is either a list of colors in formats recognized by ColorTools, a string which must be the name of a palette, or a ColorTools[Palette] object. The default is to use the Patchwork palette.

• 

colorantarctica : truefalse; specifies if Antarctica is colored according to the provided color scheme, rather than the default white color.

• 

grid : truefalse; controls the display of a grid of so-called graticule lines: curves of constant latitude and curves of constant longitude. By default, grid is set to be false. If it is true, this command shows latitude and longitude curves both at intervals of 15 degrees.

• 

projection : specifies the name of the supported map projection to use. The default projection is MillerCylindrical. See ListOfProjections for a complete list of supported map projections.

• 

watercolor : color object, plot color, or a color string recognized by ColorTools; specifies the color of oceans and other bodies of water.

• 

mapdata : one of the strings or names coarse, medium, fine, or deduce. Maple has three different grades of fineness of map data, selected by specifying coarse, medium, or fine for this option. The default value is deduce, which enables the following rule.  For projections that are typically used to display the whole world, Maple will use the coarse data. (In particular, if the Globe projection is selected, the mapdata option is ignored; Maple always uses coarse data.) For other projections, Maple will compute the area of the map to be displayed as a fraction of the whole world map. If this fraction is greater than 1/16, choose the coarse map data; otherwise, if it is greater than 1/256, choose the medium map data; otherwise, choose the fine grained map data.

  

The coarse and medium map data consist of polygons for independent countries. The fine grained map data consists of polygons for subdivisions of countries.

Description

• 

The Display command creates and displays a map plot for m.

Examples

mDataSets:-Builtin:-WorldMap

mPLOT...A map of the worldprojection: MillerCylindrical

(1)

Specify the colors used for the plot through the colors keyword option

Displaym,colors=spring,watercolor=white,colorantarctica

Displaym,colors=red,ColorTools:-Colorgreen,COLORRGB,0,0,1,#78000E,watercolor=white,colorantarctica

Display the world using various map projections

Displaym,projection=Werner

Displaym,projection=Robinson

Displaym,projection=AzimuthalEquidistant0,90,grid=true

Add some highlighted points to m. Displaying m will then show a smaller part of the map that contains these points.

AddPointm,80.52,43.47,Waterloo

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

(2)

AddPointm,4.40,50.71,Waterloo

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

(3)

Displaym

This map shows about 1/12 of the entire world map, but we might want to see more detail. That can be achieved with the mapdata option.

Displaym,mapdata=medium

Compatibility

• 

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

• 

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

See Also

WorldMap