Vector and Raster Map Display
Vector data represents events, locations, and objects using points, lines, and polygons. For example, you can represent a city by using a point, a river by using a line, and a country by using a polygon. Raster data stores gridded data, such as satellite imagery and terrain elevation grids, in matrices. Use these functions to display vector and raster data on maps.
Mixed Vector and Raster Data
|Plot points, lines, and polygons on map (Since R2022a)
|Create primitive line
|Create animated line
|2-D comet plot
|Project 2-D lines and points on
|Project 3-D lines and points on
|Project line on
|Project filled 2-D patches on
|Project filled 3-D patches on
|Project patches on
|Project patches as individual objects on
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 Data as Lines and 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
This topic lists the available Mapping Toolbox™ patch and 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.