Mapping Toolbox    

Accessing and Manipulating Map Axes Properties

Just as the properties of the underlying standard axes can be accessed and manipulated using the MATLAB commands set and get, map axes properties can also be accessed and manipulated using the commands setm and getm.

As an example, create a map axes:

Suppose you would like to make the frame lines bordering the map thicker. First you need to determine the current line width of the frame. Access the property value by typing:

Try resetting the line width to four points:

You can set any number of properties simultaneously with setm. Reduce the line width, change the projection to an Equidistant Cylindrical, and verify the changes:

To inspect the entire set of map axes properties at their current settings, use the following command:

Similarly, the possible property values and their defaults can be displayed with the setm command alone:

Properties can also be displayed individually:


  Map Axes The Map Frame