This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Vector and Raster Map Display

Display vector or raster data on map


geoshowDisplay map latitude and longitude data
grid2imageDisplay regular data grid as image
fillmProject filled 2-D patch objects on map axes
linemProject line object on map axes
makesymbolspecConstruct vector layer symbolization specification
mapshowDisplay map data without projection
meshmProject regular data grid on map axes
patchesmProject patches on map axes as individual objects
patchmProject patch objects on map axes
pcolormProject regular data grid on map axes in z = 0 plane
plotmProject 2-D lines and points on map axes
plot3mProject 3-D lines and points on map axes
surfmProject geolocated data grid on map axes
usamapConstruct map axes for United States of America
worldmapConstruct map axes for given region of world


Vector Map Display

Display Vector Data as Points and Lines

This example shows how to display vector data as discrete points, and how to connect points with a great circle track and a rhumb line track.

Display Vector Maps as Lines or Patches

This example shows how to create a map from vector data that contains connected line segments and closed polygons.

Summary of Polygon Display Functions

The following table lists the available Mapping Toolbox™ patch polygon display functions.

Raster Map Display

Types of Data Grids and Raster Display Functions

You can display regular and geolocated data grids in many ways, such as a 2-D indexed image where color represents the data value, or as a 3-D surface with light shading.

Fit Gridded Data to the Graticule

A graticule is a grid of meridians and parallels used to guide the placement of features on a map. Using a finer graticule can give greater precision at the cost of more effort and time.

Create 3-D Displays with Raster Data

This example shows how to create a 3-D display of raster data, where the z-coordinate represents the data values. Change the viewpoint to get the appearance of depth in the map.

Featured Examples