Skip to content

Commit

Permalink
Some fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
seisman committed Jun 19, 2022
1 parent 1e96309 commit 4332fb3
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion source/cpt/makecpt.rst
Original file line number Diff line number Diff line change
Expand Up @@ -93,4 +93,4 @@ GMT 内置的 CPT 文件都是动态的。
绘制的区域高程值是非对称的,从-8000米到3000米(下图)。由于hinge值的存在,负高程
依旧由海蓝色拉伸填充,正高程则由大地色压缩填充。

注:若要实现hinge分界效果,``makecpt`` 命令中的 ``-T`` 选项不可设置 ``/<z_int>``
注:若要实现hinge分界效果,:doc:`/module/makecpt` 命令中的 **-T** 选项不可设置 *inc*
4 changes: 2 additions & 2 deletions source/module/basemap.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ basemap
必选选项
--------

**-B** |-L| **-T** 三个选项中必须至少使用一个。
|-B| |-L| |-T| 三个选项中必须至少使用一个。

.. include:: explain_-J.rst_

Expand Down Expand Up @@ -79,7 +79,7 @@ basemap
.. include:: explain_-F_box.rst_

该选项默认会同时控制比例尺和方向玫瑰的背景边框。
加上 **l**\|\ **t** 则表示只控制 **-L**\ **-T**
加上 **l**\|\ **t** 则表示只控制 |-L||-T|
选项绘制的特征。

.. include:: explain_-U.rst_
Expand Down
10 changes: 5 additions & 5 deletions source/module/coast.rst
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ coast
利用DCW数据绘制或导出行政区划边界(洲界、国界、省界)

GMT自带了DCW(Digital Chart of World)数据,即全球的行政区划数据。
其包含了全球各国国界和省界数据。该数据独立于GSHHG数据,因而 |-A| 和 **-D**
其包含了全球各国国界和省界数据。该数据独立于GSHHG数据,因而 |-A| 和 |-D|
选项对该数据无效。关于DCW数据及其用法的详细介绍见 :doc:`/dataset/dcw/index`。

通过指定一个或多个以逗号分隔的区域代码 *code* 即可指定一个或多个行政区域。
Expand Down Expand Up @@ -125,7 +125,7 @@ coast
.. include:: explain_-F_box.rst_

该选项默认会同时控制比例尺和方向玫瑰的背景边框。
加上 **l**\|\ **t** 则表示只控制 **-L**\ 或 |-T| 选项绘制的特征。
加上 **l**\|\ **t** 则表示只控制 |-L| 或 |-T| 选项绘制的特征。

.. _-G:

Expand Down Expand Up @@ -196,7 +196,7 @@ coast
使用 |-G| 和 |-S| 可以分别裁剪出dry区域和wet区域,接下来的其他绘图命令
中只有在裁剪区域内的部分才会被绘制。在绘图结束后,需要关闭裁剪,就需要再次调用
**coast**,并加上 |-Q| 选项。若在开启裁剪后使用了 |-X| 和 |-Y| 选项,
则在关闭时也要记得使用 |-X| 和 **-Y**
则在关闭时也要记得使用 |-X| 和 |-Y|

.. _-S:

Expand Down Expand Up @@ -230,9 +230,9 @@ coast
使用时需要注意:

- 不使用 |-W| 选项,则不绘制任何shore
- 使用 |-W| ,给定画笔属性 *pen*,但不给出 *level*,则绘制
- 使用 |-W|,给定画笔属性 *pen*,但不给出 *level*,则绘制
四个level的shore
- 在同一个命令中可以多次使用 **-W**,以指定不同 *level* 的shore的画笔属性
- 在同一个命令中可以多次使用 |-W|,以指定不同 *level* 的shore的画笔属性
- |-W| 选项中 *level* 是可选的,而 *pen* 是必须的!因而 **-W2**
会被解释为所有level的画笔属性,而不是level 2

Expand Down
4 changes: 2 additions & 2 deletions source/module/colorbar.rst
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ colorbar
设置colorbar的标注、刻度和网格线间隔。

在不使用 |-B| 选项或不指定标注间隔时,默认会根据CPT文件中每一行的内容
对colorbar进行标注,具体见 :doc:`/cpt/index`。**-B** 选项的具体说明
对colorbar进行标注,具体见 :doc:`/cpt/index`。|-B| 选项的具体说明
:doc:`/option/B`。

默认情况下,对于水平colorbar而言,X轴的标签会放在colorbar的下边,Y轴标签放在
Expand Down Expand Up @@ -208,6 +208,6 @@ colorbar

:doc:`makecpt`
:doc:`gmtlogo`,
:doc:`grd2cpt`
:doc:`grd2cpt`,
:doc:`image`,
:doc:`legend`

0 comments on commit 4332fb3

Please sign in to comment.