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

cyclecpt.sh 610 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
  1. #!/usr/bin/env bash
  2. # Make sure cycle symbol is not overprinting labels or nan box (issue #1175)
  3. ps=cyclecpt.ps
  4. gmt makecpt -Ccyclic -T0/180 -Ww > temp_cpt.cpt
  5. # Vertical
  6. gmt psscale -P -K -Ctemp_cpt.cpt -Dx3c/5c+w10c/0.618c+n -Bxa+l"Cyclic CPT with NaN and unit" -By+l"m" -X1i > $ps
  7. gmt psscale -O -K -Ctemp_cpt.cpt -Dx3c/5c+w10c/0.618c+n -Bxa+l"Cyclic CPT with NaN" -X4i >> $ps
  8. # Horizontal
  9. gmt psscale -O -K -Ctemp_cpt.cpt -Dx5c/5c+w10c/0.618c+n+h -Bxa+l"Cyclic CPT with NaN and unit" -By+l"m" -X-4i -Y5i >> $ps
  10. gmt psscale -O -Ctemp_cpt.cpt -Dx5c/5c+w10c/0.618c+n+h -Bxa+l"Cyclic CPT with NaN" -Y1i >> $ps
Tip!

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

Comments

Loading...