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

polarcurves.sh 517 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
  1. #!/usr/bin/env bash
  2. # test the -Ar|t line-resampling for polar projections
  3. cat << EOF > t.txt
  4. 10 5
  5. 30 4
  6. 50 7
  7. EOF
  8. gmt begin polarcurves ps
  9. gmt subplot begin 3x1 -R0/60/0/10 -Fs8c -JP8c -A
  10. gmt subplot set 0 -A"No -A"
  11. gmt plot -W2p,red t.txt
  12. gmt plot t.txt -Sc0.2c -Wthin
  13. gmt subplot set 1 -A"-At: @~q@~, then r"
  14. gmt plot -W2p,red -At t.txt
  15. gmt plot t.txt -Sc0.2c -Wthin
  16. gmt subplot set 2 -A"-Ar: r, then @~q@~"
  17. gmt plot -W2p,red -Ar t.txt
  18. gmt plot t.txt -Sc0.2c -Wthin
  19. gmt subplot end
  20. gmt end show
Tip!

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

Comments

Loading...