SetProjection - Maple Help

DataSets[Builtin][WorldMap]

 SetProjection
 specify the default projection for a WorldMap object

 Calling Sequence SetProjection(m,proj);

Parameters

 m - a WorldMap object proj - the name of a projection, optionally including parameters if applicable

Description

 • The SetProjection command sets the default projection of m.
 • This projection is the one that is used by default when calling Display, and when printing a world map object. It is also the projection that is considered when using ResetView.
 • proj must be the name of a valid projection (see the full List of Projections), optionally including parameters if applicable (for example, CylindricalEqualArea(37.5)).

Examples

 > $m≔\mathrm{DataSets}:-\mathrm{Builtin}:-\mathrm{WorldMap}\left(\right)$
 ${m}{≔}\left(\begin{array}{cc}\left[{\mathrm{PLOT}}{}\left({\mathrm{...}}\right)\right]& \begin{array}{c}{\mathrm{A map of the world}}\\ {\mathrm{projection: MillerCylindrical}}\end{array}\end{array}\right)$ (1)

When the map is displayed after setting the center, it now uses the LambertAzimuthalEqualArea projection.

 > $\mathrm{SetProjection}\left(m,\mathrm{LambertAzimuthalEqualArea}\right)$
 $\left(\begin{array}{cc}\left[{\mathrm{PLOT}}{}\left({\mathrm{...}}\right)\right]& \begin{array}{c}{\mathrm{A map of the world}}\\ {\mathrm{projection: LambertAzimuthalEqualArea\left(0,0\right)}}\end{array}\end{array}\right)$ (2)

This projection is also the one now used by default with the Display command.

 > $\mathrm{Display}\left(m\right)$
 > 

Compatibility

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