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

radians.sh 447 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. # Test radian annotations in basemap and psscale
  3. ps=radians.ps
  4. gmt makecpt -T-pi/pi -Crainbow -Ww > t.cpt
  5. gmt math -T-12pi/12pi/200+n T 4 DIV COS 20 MUL 25 ADD = cos.txt
  6. gmt psbasemap -R-12pi/12pi/0/100 -JX6i/7i -P -Bxa4pi -Byaf -K -Xc -Y1.5i > $ps
  7. gmt psxy -R -J -O -K -W2p cos.txt >> $ps
  8. gmt psscale -R -J -DjRM+w4i/0.2i+o0.5i/0 -Ct.cpt -Bxapi -O -K >> $ps
  9. gmt psscale -R -J -DJCB+w5i/0.2i+o0/0.5i -Ct.cpt -Bxapi2 -O >> $ps
Tip!

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

Comments

Loading...