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

cartvec.sh 740 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
  1. #!/usr/bin/env bash
  2. ps=cartvec.ps
  3. cat << EOF > vec.txt
  4. 0 0 0 60 1.25i
  5. 0 0 0 -100 0.75i
  6. EOF
  7. gmt psxyz vec.txt -R-1/1/-1/1 -JX2.5i -p165/35 -P -Bafg10 -BWSne -Sv0.25i+e -Gred -W3p -K > $ps
  8. gmt pstext -R -J -p -O -K -F+f14p+jTL+cTL+tORIG -Dj0.1i >> $ps
  9. gmt psxyz vec.txt -R -O -K -Bafg10 -p -BWSne -Sv0.25i+e -Gred -W3p -X3.5i -JX2.5i/-2.5i >> $ps
  10. gmt pstext -R -J -p -O -K -F+f14p+jTL+cTL+t"NEG Y" -Dj0.1i >> $ps
  11. gmt psxyz vec.txt -R -O -K -p -Bafg10 -BWSne -Sv0.25i+e -Gred -W3p -X-3.5i -Y4i -JX-2.5i/2.5i >> $ps
  12. gmt pstext -R -J -p -O -K -F+f14p+jTL+cTL+t"NEG X" -Dj0.1i >> $ps
  13. gmt psxyz vec.txt -R -O -K -Bafg10 -p -BWSne -Sv0.25i+e -Gred -W3p -X3.5i -JX-2.5i/-2.5i >> $ps
  14. gmt pstext -R -J -p -O -F+f14p+jTL+cTL+t"NEG X,Y" -Dj0.1i >> $ps
Tip!

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

Comments

Loading...