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

vertical.sh 1.3 KB

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
  1. #!/usr/bin/env bash
  2. # Testing psscale -F option etc.
  3. ps=vertical.ps
  4. gmt set FONT_ANNOT_PRIMARY 12p FONT_LABEL 16p MAP_LABEL_OFFSET 8p
  5. gmt makecpt -T-200/1000/100 -Crainbow > t.cpt
  6. gmt psscale -Ct.cpt -Dx0i/2i+w4i/0.2i+jML -Bxa200f -P -F+p1p+glightgray -K > $ps
  7. gmt psscale -Ct.cpt -Dx0i/2i+w4i/0.2i+jML -Bxa200f+l"topography" -By+lkm -F+p1p+i -O -K -X1.1i >> $ps
  8. gmt psscale -Ct.cpt -Dx0i/2i+w4i/0.2i+jML -Bxa200f+l"topography" -By+lkm -F+p1p -O -K -X1.4i >> $ps
  9. gmt psscale -Ct.cpt -Dx0i/2i+w4i/0.2i+jML+m -Bxa200f+l"topography" -By+lkm -F+p1p -O -K -X2.3i >> $ps
  10. gmt psscale -Ct.cpt -Dx0i/2i+w4i/0.2i+jML+ma -Bxa200f+l"topography" -By+lkm -F+p1p -O -K -X1.1i >> $ps
  11. gmt psscale -Ct.cpt -Dx0i/2i+w4i/0.2i+jML+ml -Bxa200f+l"topography" -By+lkm -F+p1p -O -K -X-5.9i -Y4.8i >> $ps
  12. gmt makecpt -T-20/10/1 -Crainbow > t.cpt
  13. gmt psscale -Ct.cpt -Dx0i/2i+w4i/0.2i+jML+ml -Bxaf+l"topography" -By+lkm -F+p1p+r -O -K -X1.3i >> $ps
  14. gmt set FONT_ANNOT_PRIMARY 16p FONT_LABEL 24p MAP_LABEL_OFFSET 12p
  15. gmt psscale -Ct.cpt -Dx0i/2i+w4i/0.2i+jML+ml -Bxaf+l"topography" -By+lmiles -F+p1p+r -O -K -X1.4i >> $ps
  16. gmt psscale -Ct.cpt -Dx0i/2i+w4i/0.2i+jML+ml -Bxaf+l"topography" -F+p1p+glightgray+s -O -K -X1.5i >> $ps
  17. gmt psscale -Ct.cpt -Dx0i/2i+w4i/0.2i+jML+mc -Bxaf+l"topography" -F+p1p+glightgray+s -O -X1.1i >> $ps
Tip!

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

Comments

Loading...