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

bigisland.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
11
12
13
14
15
16
17
  1. #!/usr/bin/env bash
  2. #
  3. # Test crosslines for contour annotation placements and scaling
  4. ps=bigisland.ps
  5. cat << EOF > crosslines.txt
  6. > ML to the base
  7. 155.5922W 19.4721N
  8. 155:55W 19:00N
  9. 156:45W 19:00N
  10. > MK to top right corner
  11. 155.4681W 19.8206N
  12. 154:30W 20:30N
  13. EOF
  14. gmt pscoast -R156:45W/154:15W/18:30N/20:30N -JM6i -Baf -Gburlywood -W0.75p -Df -P -K --FORMAT_GEO_MAP=dddF > $ps
  15. gmt grdcontour -R @earth_relief_01m -J -Z+s0.001 -A1+f7p+a0 -Wc0.25p,gray -Wa0.75p,gray -O -K -L-7/-0.001 -Gxcrosslines.txt >> $ps
  16. gmt grdcontour -R @earth_relief_01m -J -Z+s0.001 -A1+f7p+a0 -C0.5 -O -L0.001/5 -Gxcrosslines.txt >> $ps
Tip!

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

Comments

Loading...