Main Content

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
makesymbolspecCreate vector layer symbol specification
mapshowDisplay map data without projection
displaymDisplay geographic data from display structure
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
fill3mProject filled 3-D patch objects 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
cart2grnTransform projected coordinates to Greenwich system
grn2eqaConvert from Greenwich to equal area coordinates
eqa2grnConvert from equal area to Greenwich coordinates


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