矢量与栅格地图显示
在地图上显示矢量或栅格数据
矢量数据使用点、线和多边形来表示事件、位置和对象。例如,您可以用点表示城市,用线表示河流,用多边形表示国家。栅格数据以矩阵形式存储网格化数据,例如卫星影像和地形高程网格。使用这些函数在地图上显示矢量和栅格数据。
函数
属性
| Point Properties | Geographic point appearance and behavior (自 R2022a 起) |
| Line Properties | Geographic chart line appearance and behavior (自 R2022a 起) |
| Polygon Properties | Geographic polygon appearance and behavior (自 R2022a 起) |
| IconChart Properties | Icon chart appearance and behavior (自 R2024b 起) |
主题
矢量地图显示
- 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. - Create Maps Using Icons
Represent and display data, animate movement along paths, and annotate basemaps using icons on maps. (自 R2024b 起) - Control Color and Transparency of Icon Chart
Change the color or hide the background of an icon by using the color and transparency properties of the icon chart object. (自 R2024b 起) - Summary of Polygon Display Functions
This topic lists the available Mapping Toolbox™ patch and polygon display functions.
栅格地图显示
- 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.

