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

horsclpanel.sh 1013 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
  1. #!/usr/bin/env bash
  2. # Testing horizontal psscale panel sizing if -+e +n and reverse scale.
  3. ps=horsclpanel.ps
  4. gmt set FONT_ANNOT_PRIMARY 9p,Helvetica,black
  5. gmt makecpt -T-200/1000 -Crainbow > t.cpt
  6. gmt psxy -R0/20/0/30 -Jx1c -P -K -Y0 << EOF > $ps
  7. 8 0
  8. 8 30
  9. EOF
  10. gmt psscale -O -K -Ct.cpt -Dx8c/22c+w12c/0.5c+jTC+e+h+n -Bxaf -By+lkm -F+gwhite+p+i+s -Y2.5c >> $ps
  11. gmt psscale -O -K -Ct.cpt -Dx8c/19c+w-12c/0.5c+jTC+e+h+n -Bxaf -By+lkm -F+gwhite+p+i+s >> $ps
  12. gmt psscale -O -K -Ct.cpt -Dx8c/16c+w-12c/0.5c+jTC+ebf+h -Bxaf -By+lkm -F+gwhite+p+i+s >> $ps
  13. gmt psscale -O -K -Ct.cpt -Dx8c/13c+w12c/0.5c+jTC+ebf+h -Bxaf -By+lkm -F+gwhite+p+i+s >> $ps
  14. gmt psscale -O -K -Ct.cpt -Dx8c/10c+w-12c/0.5c+jTC+eb+h+n -Bxaf -By+lkm -F+gwhite+p+i+s >> $ps
  15. gmt psscale -O -K -Ct.cpt -Dx8c/7c+w-12c/0.5c+jTC+ef+h+n -Bxaf -By+lkm -F+gwhite+p+i+s >> $ps
  16. gmt psscale -O -K -Ct.cpt -Dx8c/4c+w12c/0.5c+jTC+eb+h+n -Bxaf -By+lkm -F+gwhite+p+i+s >> $ps
  17. gmt psscale -O -Ct.cpt -Dx8c/1c+w12c/0.5c+jTC+ef+h+n -Bxaf -By+lkm -F+gwhite+p+i+s >> $ps
Tip!

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

Comments

Loading...