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

polar.sh 928 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
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
  1. #!/usr/bin/env bash
  2. #
  3. # Check plotting of boxes in stereographic polar gmt projection
  4. # Original script by Bruce Raup.
  5. ps=polar.ps
  6. gmt pscoast -R315/20/135/20r -JS0/90/15c -Dl -B45g45 -BWESN -A15000 -W0.25p -Slightblue -Gyellow -P -K > $ps
  7. # Pan-Arctic domain
  8. gmt psxy -R -J -W3p,blue -A -L -O -K << END >> $ps
  9. -222.075 34.3318
  10. -137.925 34.3318
  11. -43.708 35.7708
  12. 43.7078 35.7708
  13. -222.075 34.3318
  14. END
  15. # Hi-Res domain 1
  16. gmt psxy -R -J -W2p -A -L -O -K << END >> $ps
  17. 241.821 70.3805
  18. 189.971 52.1708
  19. 141.2 55.1768
  20. 83.6929 78.1192
  21. END
  22. # Hi-Res domain 2
  23. gmt psxy -R -J -W2p,100 -A -L -O -K << END >> $ps
  24. 344.055 71.727
  25. 147.002 84.1946
  26. 86.0915 69.7863
  27. 26.9868 63.5625
  28. END
  29. gmt pstext -R -J -F+fHelvetica-Bold+f -O -M -N << END >> $ps
  30. # This is an optional ps=polar.ps
  31. > 170 70 15p 16p 5c c
  32. High Resolution Domain One
  33. > 47 78 15p 16p 3c c
  34. @;100;High Resolution Domain Two@;;
  35. > 335 55 19p 20p 5c c
  36. @;blue;Pan-Arctic Domain@;;
  37. END
Tip!

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

Comments

Loading...