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

catlabels.sh 976 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. # Testing the auto-labeling of categorical CPTs.
  3. ps=catlabels.ps
  4. gmt set FONT_ANNOT_PRIMARY 9p,Helvetica,black
  5. gmt makecpt -T0/3/1 -Ccubhelix -F+c > t.cpt
  6. gmt psxy -R0/20/0/30 -Jx1c -P -K -Y0 -T > $ps
  7. gmt psscale -O -K -Ct.cpt -Dx8c/22c+w12c/0.5c+jTC+h -Y2.5c >> $ps
  8. gmt psscale -O -K -Ct.cpt -Dx8c/19c+w12c/0.5c+jTC+h -Bxaf >> $ps
  9. gmt psscale -O -K -Ct.cpt -Dx8c/16c+w12c/0.5c+jTC+h -Li0.4c >> $ps
  10. gmt makecpt -T0/3/1 -Ccubhelix -F+cNight,Trees,Sediment,Water > t.cpt
  11. gmt psscale -O -K -Ct.cpt -Dx8c/13c+w12c/0.5c+jTC+h -Li0.4c >> $ps
  12. gmt makecpt -T0/3/1 -Ccubhelix -F+cA > t.cpt
  13. gmt psscale -O -K -Ct.cpt -Dx8c/10c+w12c/0.5c+jTC+h >> $ps
  14. gmt makecpt -T0/3/1 -Ccubhelix -F+c1 > t.cpt
  15. gmt psscale -O -K -Ct.cpt -Dx8c/7c+w12c/0.5c+jTC+h >> $ps
  16. gmt makecpt -T0/3/1 -Ccubhelix -F+c9- > t.cpt
  17. gmt psscale -O -K -Ct.cpt -Dx8c/4c+w12c/0.5c+jTC+h >> $ps
  18. gmt makecpt -T0/3/1 -Ccubhelix -F+cG- > t.cpt
  19. gmt psscale -O -Ct.cpt -Dx8c/1c+w12c/0.5c+jTC+h -Li0.4c >> $ps
Tip!

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

Comments

Loading...