主要内容

本页采用了机器翻译。点击此处可查看英文原文。

矢量与栅格地图显示

在地图上显示矢量或栅格数据

矢量数据使用点、线和多边形来表示事件、位置和对象。例如,您可以用点表示城市,用线表示河流,用多边形表示国家。栅格数据以矩阵形式存储网格化数据,例如卫星影像和地形高程网格。使用这些函数在地图上显示矢量和栅格数据。

函数

全部展开

geoshow显示地图经纬度数据
mapshow显示无投影的地图数据
makesymbolspecCreate vector layer symbol specification
displaymDisplay geographic data from display structure on axesm-based map

地图坐标轴

geoplotPlot points, lines, and polygons on map (自 R2022a 起)
geoiconchartIcon chart in geographic coordinates (自 R2024b 起)
line创建基本线条
animatedline创建动画线条
comet二维彗星图

基于 axesm 的地图

plotm在基于 axesm 的地图上投影二维线和点
plot3mProject 3-D lines and points on axesm-based map
linemProject line on axesm-based map
fillm在基于 axesm 的地图上投影二维填充补片
fill3m在基于 axesm 的地图上投影三维填充补片
patchm在基于 axesm 的地图上投影补片
patchesmProject patches as individual objects on axesm-based map
pcolormProject geolocated data grid in h = 0 plane on axesm-based map
meshmProject regular data grid on axesm-based map
surfmProject geolocated data grid on axesm-based map
grid2imageDisplay regular data grid as image
cart2grnTransform projected coordinates on axesm-based map to Greenwich system
grn2eqaConvert from Greenwich to equal area coordinates
eqa2grnConvert from equal area to Greenwich coordinates

属性

Point PropertiesGeographic point appearance and behavior (自 R2022a 起)
Line PropertiesGeographic chart line appearance and behavior (自 R2022a 起)
Polygon PropertiesGeographic polygon appearance and behavior (自 R2022a 起)
IconChart PropertiesIcon chart appearance and behavior (自 R2024b 起)

主题

矢量地图显示

栅格地图显示

  • 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.

精选示例