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

gallo_road.sh 468 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
  1. #!/usr/bin/env bash
  2. #
  3. # Demonstrate decorated line with EPS symbol
  4. # Showing how the chicken (well, gallo) crossed the busy road
  5. cat > path.txt << END
  6. -2 -1.8
  7. -1.5 -1.5
  8. 0 1
  9. 1.5 1.2
  10. 2 1.7
  11. END
  12. gmt begin gallo_road
  13. gmt plot -R-2/2/-2/2 -JX16c -W40p,lightgray <<- EOF
  14. -2 2.4
  15. 2 -2.4
  16. EOF
  17. gmt plot -W2p,- <<- EOF
  18. -2 2.4
  19. 2 -2.4
  20. EOF
  21. gmt plot path.txt -W4p,black,8_4 -Bafg1 -BWSrt+t"How 'gallo' crossed road"
  22. gmt plot path.txt -S~n8:+i+sk@gallo/2c
  23. gmt end show
Tip!

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

Comments

Loading...