DataSets[Builtin][WorldMap]
Display
create and display a plot for a WorldMap object
Calling Sequence
Parameters
Options
Description
Examples
Compatibility
Display(m)
Display(m,options,plotopts)
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 for 2D projections or on the plot3d,options help page for 3D projections
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.
The Display command creates and displays a map plot for m.
m≔DataSets:-Builtin:-WorldMap⁡
m≔PLOT⁡...A map of the worldprojection: MillerCylindrical
Specify the colors used for the plot through the colors keyword option
Display⁡m,colors=spring,watercolor=white,colorantarctica
Display⁡m,colors=red,ColorTools:-Color⁡green,COLOR⁡RGB,0,0,1,#78000E,watercolor=white,colorantarctica
Display the world using various map projections
Display⁡m,projection=Werner
Display⁡m,projection=Robinson
Display⁡m,projection=AzimuthalEquidistant⁡0,90,grid=true
Add some highlighted points to m. Displaying m will then show a smaller part of the map that contains these points.
AddPoint⁡m,−80.52,43.47,Waterloo
PLOT⁡...A map of the world with 1 pointprojection: MillerCylindrical
AddPoint⁡m,4.40,50.71,Waterloo
PLOT⁡...A map of the world with 2 pointsprojection: MillerCylindrical
Display⁡m
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.
Display⁡m,mapdata=medium
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
Download Help Document