Takuya Miyashita
This site
Web
Start:
*GMT -B オプション [#d2711894]
#contents
共通オプション -B では,軸の目盛りとかラベルのインターバ...
おそらく一番面倒かつ使用頻度の高いオプション.~
数回のコマンド実行で1つの図を作成する場合には1回だけ詳細...
~
**-Bafg (tick and grid spacing) [#iac20a86]
ほぼ必ず使用する.
a, f, g はそれぞれ,major tick, minor tick, grid を示し,...
また,a は annotation (目盛りラベル)の表示も兼ねる.~
#codeprettify{{
# output file
output="Bafg.ps"
# options
proj=M12
region=-90/-30/-60/15
axes="-Ba15f15g15"
# GMT5
gmt pscoast -J$proj -R$region $axes -W -P -V > $output
}}
#ref(https://main-t-miyashita.ssl-lolipop.jp/hydrocoast/i...
数値を入力せず -Bafg のようにすると,それぞれ適当と判断さ...
grid を表示する必要がなければ,単純に -Baf のようにして g...
~
**-Bafg (対数スケール) [#mb35577b]
片対数,両対数軸の場合は,spacing の数値の与え方が特殊な...
1,2,3 と数を増やすほど spacing が細かくなる.~
annotation については,数値の後にpを入れると10^{n}表記に...
#codeprettify{{
## log scale
# output file
output="Bafg_log.ps"
# options
proj=X12l/8l
region=1e0/1e5/1e-1/1e2
axes="-Ba1f2g3"
# GMT5
gmt psbasemap -J$proj -R$region $axes -P -V > $output
}}
#codeprettify{{
# output file
output="Bafg_logp.ps"
# options
proj=X12l/8l
region=1e0/1e5/1e-1/1e2
axes="-Ba1pf2g3"
# GMT5
gmt psbasemap -J$proj -R$region $axes -P -V > $output
}}
&ref(https://main-t-miyashita.ssl-lolipop.jp/hydrocoast/i...
&ref(https://main-t-miyashita.ssl-lolipop.jp/hydrocoast/i...
~
**-Bxafg -Byafg (横軸,縦軸で別々の設定) [#icdb1fdf]
Bの後に x, y と指定してそれぞれ横軸,縦軸個別に設定する.
#codeprettify{{
## 横軸と縦軸別々の設定 -Bxafg -Byafg
# output file
output="BxafgByxfg.ps"
# options
proj=X12/6
region=0/100/0/10
axes="-Bxa20g20 -Bya2f1"
# GMT5
gmt psbasemap -J$proj -R$region $axes -P -V > $output
}}
#ref(https://main-t-miyashita.ssl-lolipop.jp/hydrocoast/i...
~
**-Bpafg -Bsafg (primary, secondary axes) [#xaba389c]
primary (主)の目盛りと secondary (副)の目盛りをそれぞれ指...
この p, s の指定がなければ通常は primary のことを指してい...
これを付す場所は,B の後かつ x, y の前でなければならない.~
下図のように,デフォルトでは secondary の方が大きいフォン...
#codeprettify{{
## primary and secondary axes
# output file
output="Bps.ps"
# options
proj=X12/6
region=0/100/0/10
axes="-Bsxa20g20 -Bpxa10g10 -Bsya2f1 -Bpya1"
# GMT5
gmt psbasemap -J$proj -R$region $axes -P -V > $output
}}
#ref(https://main-t-miyashita.ssl-lolipop.jp/hydrocoast/i...
~
**-B+l (軸ラベル) [#la866f69]
軸にラベルを付して,軸の説明するときに.
#codeprettify{{
## 軸ラベルをつける
# output file
output="Bafg+l.ps"
# options
proj=X12/6
region=0/100/0/10
axes="-Bxa20g20+lx-axis -Bya2f1+ly-axis"
# GMT5
gmt psbasemap -J$proj -R$region $axes -P -V > $output
}}
#ref(https://main-t-miyashita.ssl-lolipop.jp/hydrocoast/i...
~
**-BWESN (annotationなどを表示する軸の設定) [#va54e11e]
地図でない数値グラフでは,基本的に軸ラベルは片側さえあれ...
方角の N,S,E,W でそれぞれ表示する軸を決める.~
大文字(NSWE)を挿入した場合は全て,小文字(nswe)の場合は目...
また,この4つはどのような順番で配置しても良い.
#codeprettify{{
## 片方の軸だけannotationをつける -BSWne
# output file
output="BneSW.ps"
# options
proj=M12
region=120/155/20/50
axes="-Ba5f5g5 -BneSW"
# GMT5
gmt pscoast -J$proj -R$region $axes -W -P -V > $output
}}
#codeprettify{{
# output file
output="BSW.ps"
# options
proj=M12
region=120/155/20/50
axes="-Ba5f5g5 -BSW"
# GMT5
gmt pscoast -J$proj -R$region $axes -W -P -V > $output
}}
&ref(https://main-t-miyashita.ssl-lolipop.jp/hydrocoast/i...
&ref(https://main-t-miyashita.ssl-lolipop.jp/hydrocoast/i...
~
~
**-Bzafg -BZ (3次元図での鉛直軸設定) [#k021b359]
上記の組み合わせで,3次元図の鉛直軸も設定できる.~
ただし,鉛直軸の場合は -B[N|S|E|W]Z を指定しないと -Bzafg...
また,-BZ+b とすることで plotbox 全体を線で囲むことができ...
#codeprettify{{
## 3次元図でZ軸につける -Bzafg
## 3次元図でZ軸に表示する-BSWneZ
# output file
output="BNEswZ+b.ps"
# options
proj=X10
projZ=Z8
region=0/100/0/10/-5/5
# -BZをつけないと表示されない
# +bでplotboxを囲む
axes="-Bxa20g20+lX -Bya2f1g2+lY -Bza5f1+lZ -BNEswZ+b"
view=30/25
# GMT5
gmt psbasemap -J$proj -J$projZ -R$region $axes -p$view -P...
}}
#ref(https://main-t-miyashita.ssl-lolipop.jp/hydrocoast/i...
~
**-B+t (図のタイトル) [#r49d0c74]
図の上部にタイトルを表示する.
#codeprettify{{
## タイトルをつける -BneSW+ttitle
# output file
output="BneSW+ttitle.ps"
# options
proj=M12
region=120/155/20/50
axes="-Ba5f5g5 -BneSW+tTitle"
# GMT5
gmt pscoast -J$proj -R$region $axes -W -P -V > $output
}}
#ref(https://main-t-miyashita.ssl-lolipop.jp/hydrocoast/i...
~
**-B+gfill (背景色の設定) [#pad642fd]
g の後に色を指定することで,背景色をつけることができる.
#codeprettify{{
# 背景の着色 -BSWne+gfill
# output file
output="B+gfill.ps"
# options
proj=X12/6
region=0/100/0/10
axes="-Bxa20g20+lX -Bya2f1+lY -BneSW+glightblue"
# GMT5
gmt psbasemap -J$proj -R$region $axes -P -V > $output
}}
#ref(https://main-t-miyashita.ssl-lolipop.jp/hydrocoast/i...
~
***参考 [#ycbfe165]
-[[GMT documentation>http://gmt.soest.hawaii.edu/projects...
End:
*GMT -B オプション [#d2711894]
#contents
共通オプション -B では,軸の目盛りとかラベルのインターバ...
おそらく一番面倒かつ使用頻度の高いオプション.~
数回のコマンド実行で1つの図を作成する場合には1回だけ詳細...
~
**-Bafg (tick and grid spacing) [#iac20a86]
ほぼ必ず使用する.
a, f, g はそれぞれ,major tick, minor tick, grid を示し,...
また,a は annotation (目盛りラベル)の表示も兼ねる.~
#codeprettify{{
# output file
output="Bafg.ps"
# options
proj=M12
region=-90/-30/-60/15
axes="-Ba15f15g15"
# GMT5
gmt pscoast -J$proj -R$region $axes -W -P -V > $output
}}
#ref(https://main-t-miyashita.ssl-lolipop.jp/hydrocoast/i...
数値を入力せず -Bafg のようにすると,それぞれ適当と判断さ...
grid を表示する必要がなければ,単純に -Baf のようにして g...
~
**-Bafg (対数スケール) [#mb35577b]
片対数,両対数軸の場合は,spacing の数値の与え方が特殊な...
1,2,3 と数を増やすほど spacing が細かくなる.~
annotation については,数値の後にpを入れると10^{n}表記に...
#codeprettify{{
## log scale
# output file
output="Bafg_log.ps"
# options
proj=X12l/8l
region=1e0/1e5/1e-1/1e2
axes="-Ba1f2g3"
# GMT5
gmt psbasemap -J$proj -R$region $axes -P -V > $output
}}
#codeprettify{{
# output file
output="Bafg_logp.ps"
# options
proj=X12l/8l
region=1e0/1e5/1e-1/1e2
axes="-Ba1pf2g3"
# GMT5
gmt psbasemap -J$proj -R$region $axes -P -V > $output
}}
&ref(https://main-t-miyashita.ssl-lolipop.jp/hydrocoast/i...
&ref(https://main-t-miyashita.ssl-lolipop.jp/hydrocoast/i...
~
**-Bxafg -Byafg (横軸,縦軸で別々の設定) [#icdb1fdf]
Bの後に x, y と指定してそれぞれ横軸,縦軸個別に設定する.
#codeprettify{{
## 横軸と縦軸別々の設定 -Bxafg -Byafg
# output file
output="BxafgByxfg.ps"
# options
proj=X12/6
region=0/100/0/10
axes="-Bxa20g20 -Bya2f1"
# GMT5
gmt psbasemap -J$proj -R$region $axes -P -V > $output
}}
#ref(https://main-t-miyashita.ssl-lolipop.jp/hydrocoast/i...
~
**-Bpafg -Bsafg (primary, secondary axes) [#xaba389c]
primary (主)の目盛りと secondary (副)の目盛りをそれぞれ指...
この p, s の指定がなければ通常は primary のことを指してい...
これを付す場所は,B の後かつ x, y の前でなければならない.~
下図のように,デフォルトでは secondary の方が大きいフォン...
#codeprettify{{
## primary and secondary axes
# output file
output="Bps.ps"
# options
proj=X12/6
region=0/100/0/10
axes="-Bsxa20g20 -Bpxa10g10 -Bsya2f1 -Bpya1"
# GMT5
gmt psbasemap -J$proj -R$region $axes -P -V > $output
}}
#ref(https://main-t-miyashita.ssl-lolipop.jp/hydrocoast/i...
~
**-B+l (軸ラベル) [#la866f69]
軸にラベルを付して,軸の説明するときに.
#codeprettify{{
## 軸ラベルをつける
# output file
output="Bafg+l.ps"
# options
proj=X12/6
region=0/100/0/10
axes="-Bxa20g20+lx-axis -Bya2f1+ly-axis"
# GMT5
gmt psbasemap -J$proj -R$region $axes -P -V > $output
}}
#ref(https://main-t-miyashita.ssl-lolipop.jp/hydrocoast/i...
~
**-BWESN (annotationなどを表示する軸の設定) [#va54e11e]
地図でない数値グラフでは,基本的に軸ラベルは片側さえあれ...
方角の N,S,E,W でそれぞれ表示する軸を決める.~
大文字(NSWE)を挿入した場合は全て,小文字(nswe)の場合は目...
また,この4つはどのような順番で配置しても良い.
#codeprettify{{
## 片方の軸だけannotationをつける -BSWne
# output file
output="BneSW.ps"
# options
proj=M12
region=120/155/20/50
axes="-Ba5f5g5 -BneSW"
# GMT5
gmt pscoast -J$proj -R$region $axes -W -P -V > $output
}}
#codeprettify{{
# output file
output="BSW.ps"
# options
proj=M12
region=120/155/20/50
axes="-Ba5f5g5 -BSW"
# GMT5
gmt pscoast -J$proj -R$region $axes -W -P -V > $output
}}
&ref(https://main-t-miyashita.ssl-lolipop.jp/hydrocoast/i...
&ref(https://main-t-miyashita.ssl-lolipop.jp/hydrocoast/i...
~
~
**-Bzafg -BZ (3次元図での鉛直軸設定) [#k021b359]
上記の組み合わせで,3次元図の鉛直軸も設定できる.~
ただし,鉛直軸の場合は -B[N|S|E|W]Z を指定しないと -Bzafg...
また,-BZ+b とすることで plotbox 全体を線で囲むことができ...
#codeprettify{{
## 3次元図でZ軸につける -Bzafg
## 3次元図でZ軸に表示する-BSWneZ
# output file
output="BNEswZ+b.ps"
# options
proj=X10
projZ=Z8
region=0/100/0/10/-5/5
# -BZをつけないと表示されない
# +bでplotboxを囲む
axes="-Bxa20g20+lX -Bya2f1g2+lY -Bza5f1+lZ -BNEswZ+b"
view=30/25
# GMT5
gmt psbasemap -J$proj -J$projZ -R$region $axes -p$view -P...
}}
#ref(https://main-t-miyashita.ssl-lolipop.jp/hydrocoast/i...
~
**-B+t (図のタイトル) [#r49d0c74]
図の上部にタイトルを表示する.
#codeprettify{{
## タイトルをつける -BneSW+ttitle
# output file
output="BneSW+ttitle.ps"
# options
proj=M12
region=120/155/20/50
axes="-Ba5f5g5 -BneSW+tTitle"
# GMT5
gmt pscoast -J$proj -R$region $axes -W -P -V > $output
}}
#ref(https://main-t-miyashita.ssl-lolipop.jp/hydrocoast/i...
~
**-B+gfill (背景色の設定) [#pad642fd]
g の後に色を指定することで,背景色をつけることができる.
#codeprettify{{
# 背景の着色 -BSWne+gfill
# output file
output="B+gfill.ps"
# options
proj=X12/6
region=0/100/0/10
axes="-Bxa20g20+lX -Bya2f1+lY -BneSW+glightblue"
# GMT5
gmt psbasemap -J$proj -R$region $axes -P -V > $output
}}
#ref(https://main-t-miyashita.ssl-lolipop.jp/hydrocoast/i...
~
***参考 [#ycbfe165]
-[[GMT documentation>http://gmt.soest.hawaii.edu/projects...
Page:
Edit with a page name which already exists