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

geovector.sh 774 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
  1. #!/bin/bash
  2. # $Id$
  3. #
  4. # Check geovector symbols
  5. ps=geovector.ps
  6. # Vector from point with head at end
  7. cat << EOF > t.txt
  8. -40 30 60 19000
  9. 0 -30 20 13000
  10. EOF
  11. gmt psxy -R-180/180/-75/75 -JM6i -Bag -W0.5p,red -S=0.4i+jb+e+r -P -Gred --MAP_VECTOR_SHAPE=1 t.txt -K -Xc > $ps
  12. gmt psxy -R -J -O -K -Sc0.05i -Gred t.txt >> $ps
  13. # Centered double-head vector
  14. cat << EOF > t.txt
  15. -120 0 45 10000
  16. 60 -50 20 6000
  17. EOF
  18. gmt psxy -R -J -W0.5p,blue -S=0.4i+jc+b+e -Gblue --MAP_VECTOR_SHAPE=1 t.txt -O -K >> $ps
  19. gmt psxy -R -J -Sc0.05i -Gblue t.txt -O -K >> $ps
  20. # Vector to point with head at start
  21. cat << EOF > t.txt
  22. -60 10 5 8000
  23. -140 -65 80 6000
  24. EOF
  25. gmt psxy -R -J -W0.5p,black -S=0.4i+je+e+a20+l --MAP_VECTOR_SHAPE=1 t.txt -O -K >> $ps
  26. gmt psxy -R -J -Sc0.05i -Gblack t.txt -O >> $ps
Tip!

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

Comments

Loading...