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

ex07.sh 678 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
17
18
19
  1. #!/usr/bin/env bash
  2. # GMT EXAMPLE 07
  3. #
  4. # Purpose: Make a basemap with earthquakes and isochrons etc
  5. # GMT modules: coast, legend, text, plot
  6. #
  7. gmt begin ex07
  8. gmt coast -R-50/0/-10/20 -JM24c -Slightblue -GP26+r300+ftan+bdarkbrown -Dl -Wthinnest -B --FORMAT_GEO_MAP=dddF
  9. gmt plot @fz_07.txt -Wthinner,-
  10. gmt plot @quakes_07.txt -h1 -Scc -i0,1,2+s0.025 -Gred -Wthinnest -l"ISC Earthquakes"+S0.2c
  11. gmt plot @isochron_07.txt -Wthin,blue
  12. gmt plot @ridge_07.txt -Wthicker,orange
  13. gmt legend -DjTR+o0.5c -F+pthick+ithinner+gwhite --FONT_ANNOT_PRIMARY=18p,Times-Italic
  14. gmt text -F+f30,Helvetica-Bold,white=thin <<- END
  15. -43 -5 SOUTH
  16. -43 -8 AMERICA
  17. -7 11 AFRICA
  18. END
  19. gmt end show
Tip!

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

Comments

Loading...