主要内容

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

gcm

当前基于 axesm 的地图的查询投影结构

    说明

    mstruct = gcm 返回当前基于 axesm 的地图的投影结构,其中包含所有当前基于 axesm 的地图属性的设置。

    示例

    mstruct = gcm(abm) 返回基于指定 axesm 的地图的地图投影结构。

    示例

    全部折叠

    建立一个基于 axesm 的映射并设置默认值,然后查看其结构。

    axesm mercator

    Figure contains an axes object. The axes object is empty.

    mstruct = gcm
    mstruct = struct with fields:
         mapprojection: 'mercator'
                  zone: []
            angleunits: 'degrees'
                aspect: 'normal'
         falsenorthing: 0
          falseeasting: 0
           fixedorient: []
                 geoid: [1 0]
           maplatlimit: [-86 86]
           maplonlimit: [-180 180]
          mapparallels: 0
            nparallels: 1
                origin: [0 0 0]
           scalefactor: 1
               trimlat: [-86 86]
               trimlon: [-180 180]
                 frame: 'off'
                 ffill: 100
            fedgecolor: 'default'
            ffacecolor: 'none'
             flatlimit: [-86 86]
            flinewidth: 2
             flonlimit: [-180 180]
                  grid: 'off'
             galtitude: Inf
                gcolor: 'default'
            glinestyle: ':'
            glinewidth: 0.5000
        mlineexception: []
             mlinefill: 100
            mlinelimit: []
         mlinelocation: 30
          mlinevisible: 'on'
        plineexception: []
             plinefill: 100
            plinelimit: []
         plinelocation: 15
          plinevisible: 'on'
             fontangle: 'normal'
             fontcolor: 'default'
              fontname: 'Helvetica'
              fontsize: 10
             fontunits: 'points'
            fontweight: 'normal'
           labelformat: 'compass'
         labelrotation: 'off'
            labelunits: 'degrees'
         meridianlabel: 'off'
        mlabellocation: 30
        mlabelparallel: 86
           mlabelround: 0
         parallellabel: 'off'
        plabellocation: 15
        plabelmeridian: -180
           plabelround: 0
    
    

    输入参数

    全部折叠

    基于 axesm 的映射,指定为使用 axesmworldmapusamap 函数创建的映射。

    输出参量

    全部折叠

    地图投影结构,以结构体形式返回,其字段与基于 axesm 的地图属性完全一致。地图投影结构字段的示例包括投影名称、角度单位、原点、方位角、虚东坐标和虚北坐标。有关基于 axesm 的映射的更多属性信息,请参阅 axesm-Based Map Properties

    提示

    • 您可以通过使用 getm 函数来查询基于 axesm 的地图的特定属性。

    • 您可以通过使用 setm 函数来修改基于 axesm 的地图的特定属性。

    版本历史记录

    在 R2006a 之前推出

    另请参阅

    | |