Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tutorial for taup-velplot #209

Merged
merged 8 commits into from
Jun 2, 2021
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions source/taup/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,4 @@ TauP
taup_curve
taup_path
taup_setsac
taup_velplot
2 changes: 1 addition & 1 deletion source/taup/introduction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ TauP 既提供了图形界面,也提供了命令行工具。
- ``taup create``\ :预计算速度模型
- ``taup phase``\ :通过语言描述震相的射线路径
- ``taup slowplot``\ :绘制速度模型的慢度-深度剖面
- ``taup velplot``\ :绘制速度模型的速度-深度剖面
- :doc:`taup_velplot`\ :绘制速度模型的速度-深度剖面
- ``taup velmerge``\ :将部分速度模型与一个标准模型合并以构成一个新的速度模型

参考文献
Expand Down
Binary file added source/taup/taup_velplot.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
27 changes: 27 additions & 0 deletions source/taup/taup_velplot.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
taup velplot
============

:本节贡献者: |田冬冬|\(作者)、
|姚家园|\(审稿)
:最近更新日期: 2021-06-01
seisman marked this conversation as resolved.
Show resolved Hide resolved

----

``taup velplot`` 可以很方便地生成一个可用于绘制速度-深度剖面的 GMT 脚本。
seisman marked this conversation as resolved.
Show resolved Hide resolved

使用 ``taup velplot --help`` 可查询该命令的完整用法和选项。此处仅介绍其常用用法。

绘制 IASP91 参考模型的速度-深度剖面::
seisman marked this conversation as resolved.
Show resolved Hide resolved

$ taup velplot -mod iasp91

执行该命令会生成脚本 :file:`iasp91_vel.gmt`\ 。执行该脚本即可生成 PDF 格式的
core-man marked this conversation as resolved.
Show resolved Hide resolved
seisman marked this conversation as resolved.
Show resolved Hide resolved
速度-深度剖面::

$ sh iasp91_vel.gmt

绘制出来的图件效果如下。其中蓝线为 P 波速度,红线为 S 波速度。
seisman marked this conversation as resolved.
Show resolved Hide resolved

.. image:: taup_velplot.jpg
:width: 400 px
:align: center