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

polygons.sh 384 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
  1. #!/usr/bin/env bash
  2. # Test gmt psevents with two polygons of different lifetimes
  3. ps=polygons.ps
  4. cat << EOF > polygon.txt
  5. > Polygon -T200/90 -Gpink -W2p,red
  6. 0 0
  7. 90 -0.5
  8. 180 0.9
  9. 111 1.2
  10. 55 0.8
  11. 0 0
  12. > Polygon -T250/60 -Glightblue -W4p
  13. 200 0
  14. 290 -0.5
  15. 380 0.9
  16. 311 1.2
  17. 255 0.8
  18. 200 0
  19. EOF
  20. gmt psevents -R-40/400/-2/2 -JX15c/10c -Baf -B+t"Polygon" polygon.txt -As -T248 -Es+r5+f5 -L -P > $ps
Tip!

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

Comments

Loading...