Map Customization
Set the outer limits of the map, display meridians and parallels, add
annotations, use basemaps
Functions
framem | Control frame of axesm -based map |
gridm | Control graticule lines on axesm -based map |
tightmap | Remove white space around axesm -based map |
axesscale | Resize axes for equivalent scale |
mlabel | Control meridian labels on axesm -based map |
mlabelzero22pi | Display meridian labels on axesm -based map using range of 0 to 360 degrees |
northarrow | Add north arrow to axesm -based map |
plabel | Control parallel labels on axesm -based map |
rotatetext | Rotate text to projected graticule on axesm -based map |
scaleruler | Add or modify graphic scale on axesm -based map |
textm | Project text onto axesm -based map |
geobasemap | Set or query basemap |
readBasemapImage | Read image from geographic basemap |
addCustomBasemap | Add custom basemap |
removeCustomBasemap | Remove custom basemap |
addToolbarMapButton | Add map button to toolbar |
removeToolbarMapButton | Remove map button from toolbar |
Topics
Map Display
- The Map Frame
A map frame is the outline of the limits of a map. The shape of the frame is characteristic of the projection. - Map and Frame Limits
The map latitude and longitude limits define the extents of geodata to be displayed. The frame limits control how the frame fits around the displayed data. - Map Limit Properties
Map limits have properties that provide a convenient and intuitive way to specify your map projection origin and frame limits. Learn how to set these properties, and when you should avoid the properties. - The Map Grid
The map grid is the display of meridians and parallels. The spacing and curvature of the grid lines are characteristic of the projection. - Set Background Colors for Map Displays
You can set the background of maps to white, or to a custom color by specifying a color triplet. You can change the default map background color. - Scale Maps for Printing
To ensure your map can be printed correctly, you can specify the ratio between distances on a map and length on a sheet of paper.
Map Annotations
- Inset Maps
Inset maps provide context to maps by including overviews at smaller scales. - Interactively Display Text Annotations on a Map
You can interactively place text annotations by clicking on a map display.
Basemaps
- Create Common Plots over Basemap Images
Display a variety of plots over basemap images, including digraphs, contours, images, and 3-D surfaces. - Change Projection of Basemap Image
Geographic axes display data over basemaps using the Mercator projection. This example shows how to display data over basemaps using different projections. - Use Basemaps in Offline Environments
Display data over basemaps when MATLAB® has temporary or no internet access. - Display Data over Basemaps When Internet Access Is Intermittent
This example shows how to display data over a basemap, while accounting for intermittent internet access, by reading a saved basemap image from a file.