DataSets[Builtin][WorldMap]
|
create and display a plot for a WorldMap object
|
|
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 for 2D projections or on the plot3d,options help page for 3D projections
|
|
|
|
|
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.
|
•
|
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
|
|
>
|
|
| (1) |
Specify the colors used for the plot through the colors keyword option
>
|
|
>
|
|
Display the world using various map projections
>
|
|
>
|
|
>
|
|
Add some highlighted points to m. Displaying m will then show a smaller part of the map that contains these points.
>
|
|
| (2) |
>
|
|
| (3) |
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.
>
|
|
|
|
Compatibility
|
|
•
|
The DataSets[Builtin][WorldMap][Display] command was introduced in Maple 2017.
|
|
|
|
|
|
|