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

japquakes.sh 820 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. # Plot data reusing a column
  3. ps=japquakes.ps
  4. # Plot seismicity map on top, specify a 500 km scalebar kinda in the lower-right corner where there are no quakes
  5. gmt makecpt -Cred,green,blue -T0,70,300,10000 > quakes.cpt
  6. gmt pscoast -R130/150/35/50 -JM6i -P -Baf -BWsNe+t"Seismicity of Japan" -Sazure1 -Gburlywood -K -X1.5i -Y3.5i > $ps
  7. gmt psxy quakes.ngdc -R -J -Sci -Cquakes.cpt -O -K -i4,3,5,6+s0.02 -hi3 >> $ps
  8. # Along bottom plot seismicity in a depth vs longitude Cartesian plot
  9. gmt psbasemap -R130/150/0/600 -JX6id/-2.5i -Bxaf -Byaf+l"Depth (km)" -O -K -BWSne+gazure1 -Y-2.75i >> $ps
  10. gmt psxy -R -J -O -K -W0.5p,orange,- << EOF >> $ps
  11. 130 410
  12. 150 410
  13. EOF
  14. # Plot color-coded, size-challenged symbols of longitude/depth
  15. gmt psxy quakes.ngdc -R -J -Sci -Cquakes.cpt -O -i4,5,5,6+s0.02 -hi3 >> $ps
Tip!

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

Comments

Loading...