SetView - Maple Help

Online Help

All Products    Maple    MapleSim

DataSets[Builtin][WorldMap]

 SetView
 specify the view frame for a WorldMap object

 Calling Sequence SetView(m,left,bottom,right,top);

Parameters

 m - a WorldMap object left, bottom, right, top - the respective edges of the view frame

Description

 • The SetView command changes the view frame of m to the specified parameters.
 • These parameters correspond to the projected plot coordinates, which vary by projection. Keep this in mind when using this function.
 • It is permitted to set the view beyond the maximum extents of the map.
 • For some projections, setting the view beyond the regular maximum extents of the map allows the display of another copy of the map to the right of the original copy. This can be useful for, for example, displaying the Pacific Ocean in the center of the map.

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)
 > $\mathrm{Display}\left(m\right)$

Display the Pacific Ocean in the center of the map.

 > $\mathrm{SetView}\left(m,50,-132,410,132\right):$
 > $\mathrm{Display}\left(m\right)$
 > 

Compatibility

 • The DataSets[Builtin][WorldMap][SetView] command was introduced in Maple 2017.
 • For more information on Maple 2017 changes, see Updates in Maple 2017.

 See Also