Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

GMT_earthmask.sh 448 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
  1. #!/usr/bin/env bash
  2. #
  3. # Plot the earth masks
  4. gmt begin GMT_earthmask ps
  5. gmt makecpt -Clightblue,burlywood,blue,red,white -T-0.5/4.5/1 -N
  6. gmt grdimage @earth_mask_05m_p.grd -JQ0/15c -Baf -BWsNe
  7. gmt legend -DJBC+w15c+o0/0.5c -F+p1p <<- EOF
  8. N 5
  9. S - s 0.5c lightblue 0.25p - Ocean [0]
  10. S - s 0.5c burlywood 0.25p - Land [1]
  11. S - s 0.5c blue 0.25p - Lake [2]
  12. S - s 0.5c red 0.25p - Island [3]
  13. S - s 0.5c white 0.25p - Pond [4]
  14. EOF
  15. gmt end show
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...