Skip to content
This repository has been archived by the owner on Apr 19, 2022. It is now read-only.

Commit

Permalink
Update to GMT 5.4.4 (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
seisman authored Jul 3, 2018
1 parent b3ae413 commit 11902c8
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 11 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

## 版本说明

本手册目前与 GMT 5.4.3 同步,历史版本见 [release](https://github.com/gmt-china/GMT_modules/releases) 页面。
本手册目前与 GMT 5.4.4 同步,历史版本见 [release](https://github.com/gmt-china/GMT_modules/releases) 页面。

- 在线阅读: https://modules.gmt-china.org
- 离线阅读:[HTML](https://modules.gmt-china.org/GMT_modules.zip) [PDF](https://modules.gmt-china.org/GMT_modules.pdf)
Expand Down
2 changes: 1 addition & 1 deletion generate_docs_inv.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
inventory_header = '''\
# Sphinx inventory version 2
# Project: GMT
# Version: 5.4.3
# Version: 5.4.4
# The remainder of this file is compressed with zlib.
'''.encode('utf-8')

Expand Down
2 changes: 1 addition & 1 deletion generate_gmt_inv.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
inventory_header = '''\
# Sphinx inventory version 2
# Project: GMT
# Version: 5.4.3
# Version: 5.4.4
# The remainder of this file is compressed with zlib.
'''.encode('utf-8')

Expand Down
2 changes: 1 addition & 1 deletion source/GMT_style.sty
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
% 文档相关信息
\newcommand{\GMTDOCTITLE}{GMT\textbf{模块手册}} % 文档标题
\newcommand{\GMTDOCAUTHOR}{GMT中文社区} % 文档作者
\newcommand{\GMTDOCVERSION}{5.4.3} % 文档版本
\newcommand{\GMTDOCVERSION}{5.4.4} % 文档版本

% 字体设置
\setmonofont{Source Code Pro}
Expand Down
4 changes: 2 additions & 2 deletions source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
# built documents.
#
# The short X.Y version.
version = '5.4.3'
version = '5.4.4'
# The full version, including alpha/beta/rc tags.
release = version

Expand Down Expand Up @@ -295,6 +295,6 @@

# Example configuration for intersphinx: refer to the Python standard library.
intersphinx_mapping = {
'gmt': ('http://gmt.soest.hawaii.edu/doc/5.4.3/', 'gmt.inv'),
'gmt': ('http://gmt.soest.hawaii.edu/doc/5.4.4/', 'gmt.inv'),
'doc': ('https://docs.gmt-china.org/', 'docs.inv')
}
13 changes: 9 additions & 4 deletions source/pssac.rst
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,15 @@ pssac 实现波形绘制的步骤是:
``-Q``
垂直绘制波形,即Y轴是时间,X轴是振幅

``-S<sec_per_measure>[<unit>]``
指定时间缩放因子,即图上 1 单位的距离所代表的波形秒数(仅限于地理投影)
``-S[i]<scale>[<unit>]``
指定时间比例尺。

若未指定 ``<unit>`` ,默认使用 ``PROJ_LENGTH_UNIT``
对于地理投影而言,即表示图上一个单位距离所代表的波形描述。
其中单位 ``<unit>`` 可以取 ``c|i|p`` 。
若未指定 ``<unit>`` ,则默认使用 ``PROJ_LENGTH_UNIT`` 所指定的单位。

在 ``<scale>`` 前加上 ``i`` 则时间比例尺的含义反过来,即 ``<scale>`` 表示
1秒长度的波形在图上的实际长度。

``-T[+t<n>][+r<reduce_vel>][+s<shift>]``
指定参考时间及偏移量
Expand Down Expand Up @@ -142,5 +147,5 @@ pssac 实现波形绘制的步骤是:

利用 SAC 命令 ``datagen sub tel *.z`` 生成多个波形,将其绘制在地图上::

gmt pssac *.z -JM15c -R-120/-40/35/65 -Baf -M1i -S1500c -K > map.ps
gmt pssac *.z -JM15c -R-120/-40/35/65 -Baf -M1i -S300c -K > map.ps
saclst stlo stla f *.z | gmt psxy -J -R -St0.4c -Gblack -i1,2 -O >> map.ps
2 changes: 1 addition & 1 deletion source/psscale.rst
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ psscale

默认情况下,对于水平colorbar而言,X轴的标签会放在colorbar的下边,Y轴标签放在
colorbar的右边;对于垂直colorbar而言,X轴的标签放在colorbar的右边,Y轴标签
放在colorbar的上边。
放在colorbar的上边。除非在 ``-D`` 选项中使用了 ``+m`` 子选项。

``-C``
要绘制的CPT文件。
Expand Down

0 comments on commit 11902c8

Please sign in to comment.