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

geodesy_04.sh 675 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
  1. #!/usr/bin/env bash
  2. #
  3. # Test psvelo with either old and new-style vector arguments
  4. # The V4 vector is selected when -A is in old GMT4 format.
  5. ps=geodesy_04.ps
  6. cat << EOF > record.txt
  7. 0 0 5.0 5.0 2.0 4.0 0.500 3x3
  8. EOF
  9. # Old GMT4 syntax for arrow
  10. gmt psvelo -R-0.5/4/-0.5/3.8 -W1.2p,red -Se0.4i/0.39+f12p -BWSne -B1g1 -Jx1i -Ggreen -Eblue -L -N -A0.1i/0.76c/0.3i -P -K -Xc record.txt > $ps
  11. gmt pstext -R -J -O -K -F+f18p+cRB+tGMT4 -Dj0.1i >> $ps
  12. # New GMT5 syntax for arrow
  13. gmt psvelo -R -J -W3p,red -Se0.4i/0.39+f12p -BWSne -B1g1 -Ggreen -Eblue -N -A0.3i+e+a90 -L1.2p,red -O -K -Y4.8i record.txt >> $ps
  14. gmt pstext -R -J -O -F+f18p+cRB+tGMT5 -Dj0.1i >> $ps
Tip!

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

Comments

Loading...