主要内容

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

自定义基于 axesm 的地图

网格标签、注解、颜色栏、底图图像

通过自定义基于 axesm 的地图来传达数据的信息。控制地图网格的外观、显示文本并添加带标签的颜色栏。通过读取和显示底图图像为数据提供地理上下文。

作为二维 axesm 地图的替代方案是地理坐标区和地图坐标区,它们可用于许多任务,包括探索、出版和 App 构建。有关可以使用 Mapping Toolbox™ 软件创建的二维地图显示的比较,请参阅选择二维地图显示

函数

全部展开

tightmap移除基于 axesm 的地图周围的空白区域
framem基于 axesm-的地图控制帧
gridm控制基于 axesm 的地图上的网格线
plabel控制基于 axesm 的地图上的平行标签
mlabel控制基于 axesm 的地图上的经线标签
mlabelzero22pi在基于 axesm 的地图上显示经线标签,范围为 0 至 360 度
textmProject text onto axesm-based map
rotatetext将文本旋转至基于 axesm 投影的地图上的投影网格线上
scalerulerAdd or modify graphic scale on axesm-based map
northarrow在基于 axesm 的地图上添加北向箭头
colorbar显示色阶的颜色栏
lcolorbarColor bar with text labels
polcmap Create colormap appropriate to political regions
ind2rgb8将索引图像转换为类型为 uint8 的 RGB 图像
readBasemapImageRead image from geographic basemap (自 R2022a 起)
axesscale调整坐标区大小以实现等比例
paperscaleSet figure properties for printing axesm-based map at map scale
previewmap以打印尺寸查看图示

主题

边框和网格

  • Map Frame
    The map frame is the outline of the limits of a map. The shape of the frame is characteristic of the projection.
  • Map and Frame Limits
    The map latitude and longitude limits define the extents of the geodata to display. The frame limits control how the frame fits around the displayed data.
  • Map Limit Properties
    Map limits have properties that enable you to specify your map projection origin and frame limits.
  • Map Grid
    The map grid is the display of meridians and parallels. The spacing and curvature of the grid lines are characteristic of the projection.

底图图像