当前位置:网站首页>GMT installation and use
GMT installation and use
2022-07-28 12:36:00 【RS&Hydrology】
Recently, I saw it used by everyone GMT The drawing is very beautiful , Record your study here GMT The notes ( Only record key steps ).
One 、GMT install
Reference resources https://github.com/zhongpenggeo/GMT_demo/blob/master/GMT%E5%88%B6%E5%9B%BE%E7%BB%8F%E9%AA%8C/0-0-Windows%E4%B8%8B%E5%AE%89%E8%A3%85GMT.md
1. download :
GMT:https://www.generic-mapping-tools.org/download/
Ghostscript:https://www.ghostscript.com/releases/gsdnld.html
2. install
Test installation : After installation , Click on “ Start ”→“ All the procedures ”→“ The attachment ”→“ Command prompt ” Start up CMD. stay CMD Typing in the window gmt --version, If it appears GMT Version number means GMT Installation successful .
3. Use
GMT Is a pure command-line software , There is no graphical interface . All drawing operations need to be completed by executing commands in terminals and scripts .Windows The default terminal under is “ Command prompt ”, That is to say CMD Command line .
Usage method :https://docs.gmt-china.org/latest/tutorial/get-started/windows/#gmt
- One GMT Orders are usually given by gmt + Module name + Options + Parameters constitute .
- Use a text editor to create a suffix named .sh The file of , Write... To it Bash Command and save , You get a Bash Script .
- Git Bash Derived from MinGW, It is used to develop native Window Application development environment , For WIn32 Applied GCC、GNU binutils Tools such as .
- Windows Under the Powershell It's not easy to use. , Or I don't know how to use . Since by contrast , More familiar Linux Command line , Just put Git Bash As the default terminal .
(1) Create a new one .sh file :https://blog.csdn.net/qq_36920008/article/details/84894242
(4) Drawing knowledge 
https://docs.generic-mapping-tools.org/latest/cookbook/features.html#gmt-modern-mode-hierarchical-levels
C = makecpt(cmap="red,green,blue", range="0,100,300,10000");
coast(region=(130,150,35,50), land=:gray, proj=:merc)
plot!("@tut_quakes.ngdc", incols="4,3,5,6s0.1", header=3, symbol="cc", markerline=:faint, color=C, show=true)
Reference material :
GMT Chinese materials :https://docs.gmt-china.org/latest/tutorial/basemap/
边栏推荐
- Huawei releases harmonyos 3 and all scene new products, and the smart experience goes further
- Introduction to resttemplate
- php保留两位小数的几种方法介绍
- 软件架构师必需要了解的 saas 架构设计?
- PHP date time application: add or subtract the number of days of a specific date
- php 日期计算操作处理,当前日期加一天和指定日期减一天
- Kuzaobao: summary of Web3 encryption industry news on July 13
- Is it difficult for cloud native machine learning to land? Lingqueyun helps enterprises quickly apply mlops
- OpenAtom OpenHarmony分论坛圆满举办,生态与产业发展迈向新征程
- Implementation method of mouse hover, click and double click in ue4/5
猜你喜欢

奥浦迈生物通过注册:半年营收1.47亿 国寿成达与达晨是股东

Zhou Hongyi talks about Internet thinking: users, not customers

Tencent two sides: @bean and @component are used in the same class, what will happen?

新零售电商O2O模式解析

Why do enterprises need the ability of enterprise knowledge management?

Analysys analysis: focus on users, improve the user experience of mobile banking, and help the growth of user value

ViewPager2+Fragment

Sub database and sub table may not be suitable for your system. Let's talk about how to choose sub database and sub table and newsql

开源社区三十年 | 2022 开放原子全球开源峰会开源社区三十年专题活动圆满召开

Introduction to resttemplate
随机推荐
【Try to Hack】内网基础
【Try to Hack】udf提权
缺少指令集umi2 怎么办?ptk方式安装无法进行
SuperMap itablet license module division
Several ways to bind controls --butterknife/viewbinding/databinding
太赞了!京东研发一哥力荐的高可用网站构建技术PDF,备好水,慢慢啃
SQL注入 Less18(头部注入+报错注入)
【一知半解】零值拷贝
【vulnhub】presidential1
Laravel form data validation
IRBuilder
社区点赞业务缓存设计优化探索
[Nuxt 3] (十二) 项目目录结构 3
PHP ⽉ the simplest way to add and subtract ⽅
Huawei releases harmonyos 3 and all scene new products, and the smart experience goes further
Distributed session solution
Not optimistic about Apple making AR, Luo Yonghao: I'll do it myself
Gecko competition 2.0 is new! Come and show your flexible operation skills!
用C语言开发NES游戏(CC65)06、精灵
SQL注入 Less23(过滤注释符)