---
# System prepended metadata

title: GMT 早期
tags: [GMT]

---

# GMT 早期

---

cd pscoast
gmt begin map
<font color="chocolate">gmt coast -R-90/-70/0/20 -JM15c -B -Gchocolate</font>
gmt end show
![](https://i.imgur.com/K1Ve7fO.png)

---

換顏色<font color="cyan">
gmt coast -R-90/-70/0/20 -JM15c -B -cyan
</font>
![](https://i.imgur.com/51NRV7x.png)

* 一樣的結果
gmt coast -R<font color="red">270/290</font>/0/20 -JM15c -Gcyan -B



* -B : 四周經緯度與黑白框


---


gmtdefaults


---

## 加上 東西經 NW

### 記事本打開方法
gmtdefaults -D > gmt.conf
記事本打開改
FORMAT_GEO_MAP                 = ddd:mm:ss<font color="red">**F**</font>
ss後面加一個F





### 另一種方法
gmtset FORMAT_GEO_MAP                 = ddd:mm:ss<font color="red">**F**</font>

### 最後執行
* gmt begin map
* gmt coast -R270/290/0/20 -JM15c -Gcyan -B
* gmt end show
* 
![](https://i.imgur.com/umkWpF6.png)


---
## 描邊
> gmt coast -R270/290/0/20 -JM15c -Gcyan -B <font color="red">**-W1**</font>
* ### **描邊 :** -W(粗細)
![](https://i.imgur.com/aTdOpdt.png)

* -w1p
![](https://i.imgur.com/aSge5to.png)

---
## 美國地圖
國界


> gmt begin map1
> gmt coast -R-130/-70/24/52 -JB-100/35/33/45/6i -B -B+t"Conic projection" -N1/thicker -N2/thinnest -A500 -Ggray -Wthinnest
> gmt end show


![](https://i.imgur.com/79ltLAZ.png)


**中心點 :** 100/35




> gmtset MAP_GRID_CROSS_SIZE_PRIMARY    = <font color="red">0.5p</font>
> gmt coast -R-130/-70/24/52 -JB-100/35/33/45/6i -Bxg1 -Byg1 -B+t"Conic projection" -N1/thicker -N2/thinnest -A500 -Ggray -Wthinnest

![](https://i.imgur.com/ImQAXyu.png)


![](https://i.imgur.com/zoCAtkz.png)

![](https://i.imgur.com/4Ktq2p2.png)


0.5p 格線


5p 十字交叉
![](https://i.imgur.com/q5OTHGs.png)





# GMT 20221025

gmtset MAP_GRID_CROSS_SIZE_PRIMARY = <font color="red">0p</font>

網格

改成5p為十字



pscoast -Rg -JG280/30/6i -Bag -Dc -A5000 -Gwhite -SDarkturquoise > GMT_tut_5.ps

![](https://i.imgur.com/OUnyysO.png)


pscoast -Rg -JG280/30/6i -Bag -Dc -A5000 -Gyellow -Sred > GMT_tut_5.ps

![](https://i.imgur.com/FhjzPaw.png)


pscoast -Rg -JG280/30/6i -Bag -Dh -A5000 -Gyellow -Sred > GMT_tut_5.ps
![](https://i.imgur.com/RUqRKe2.png)

---


pscoast -Rg -JG280/30/6i -Bag -Dc -A5000 -Gpurple -Sdarkturquoise  -Wthinnest > GMT_tut_6.ps
![](https://i.imgur.com/7ipNx65.png)



pscoast -Rg -JG280/30/6i -Bag -Dc -A5000 -Gpurple -Sdarkturquoise  -Wthin > GMT_tut_6.ps
![](https://i.imgur.com/xD8U60d.png)



pscoast -Rg -JKs180/9i -Bag -Dc -A5000 -Gchocolate -Darkturquoise -Wthinnest > GMT_tut_6.ps
![](https://i.imgur.com/Sm1tGJ1.png)


Dc : Coarse 粗
Dh : high   高解析度





---
