This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

Map Axes

Define map axes; set map axes properties


axesm Define map axes and set map properties
axesmui Define map axes and modify map projection and display properties
clma Clear current map axes
gcm Current map projection structure
getm Map object properties
handlem Handles of displayed map objects
handlem-ui GUI for selecting mapped objects
ismap True for axes with map projection
setm Set properties of map axes and graphics objects
showaxes Toggle display of map coordinate axes
tightmap Remove white space around map
usamap Construct map axes for United States of America
worldmap Construct map axes for given region of world
namem Names of graphics objects
tagm Set Tag property of map graphics object

Examples and How To

Accessing and Manipulating Map Axes Properties

Map axes properties are accessed and manipulated using the setm and getm functions.

Understanding the Map Limit Properties

Specify your map projection origin or frame limits using the MapLatLimit and MapLonLimit map limit properties.

Switching Between Projections

Once a map axes object has been created with axesm, whether map data is displayed or not, it is possible to change the current projection as well as many of its parameters.

Create Simple Maps Using worldmap

This example shows how to create simple maps using the worldmap function.

Create Simple Maps Using usamap

This example shows how to create maps of the United States using the usamap function.

Auto-Reprojection of Mapped Objects and Its Limitations

Using the setm function, you can change the current map projection on the fly if the map display was created in a way that permits reprojection.

Change Map Projections when Using geoshow

You can display latitude-longitude vector and raster geodata using the geoshow function (use mapshow to display preprojected coordinates and grids).

Use Geographic and Nongeographic Objects in Map Axes

This example shows how to use geographic and nongeographic objects in a map axes.

Set Background Colors for Map Displays

If you prefer that your maps have white backgrounds instead, you can create figures with the command


What Is a Map Axes?

When you create a map, you can use one of the Mapping Toolbox™ built-in user interfaces (UIs), or you can build the graphic with MATLAB® and Mapping Toolbox functions.

Using axesm

The figure window created using axesm contains the same set of tools and menus as any MATLAB figure, and is by default blank, even if there is map data in your workspace.

Introduction to Mapping Graphics

Understanding Mapping Toolbox functions as extensions of MATLAB graphics

What Is the Globe Display?

The Globe display is a three-dimensional view of geospatial data capable of mapping terrain relief or other data for an entire planet viewed from space.

Was this topic helpful?