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 687 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 60 1.5i
  5. 0 0 -100 1i
  6. EOF
  7. gmt psxy vec.txt -R-1/1/-1/1 -JX3i -P -Bafg10 -BWSne -Sv0.25i+e -Gred -W3p -K > $ps
  8. gmt pstext -R -J -O -K -F+f14p+jTL+cTL+tORIG -Dj0.1i >> $ps
  9. gmt psxy vec.txt -R -O -K -Bafg10 -BWSne -Sv0.25i+e -Gred -W3p -X3.75i -JX3i/-3i >> $ps
  10. gmt pstext -R -J -O -K -F+f14p+jTL+cTL+t"NEG Y" -Dj0.1i >> $ps
  11. gmt psxy vec.txt -R -O -K -Bafg10 -BWSne -Sv0.25i+e -Gred -W3p -X-3.75i -Y4i -JX-3i/3i >> $ps
  12. gmt pstext -R -J -O -K -F+f14p+jTL+cTL+t"NEG X" -Dj0.1i >> $ps
  13. gmt psxy vec.txt -R -O -K -Bafg10 -BWSne -Sv0.25i+e -Gred -W3p -X3.75i -JX-3i/-3i >> $ps
  14. gmt pstext -R -J -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...