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

oldvec.sh 472 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
  1. #!/usr/bin/env bash
  2. #
  3. # Check GMT4-style vector symbols
  4. ps=oldvec.ps
  5. gmt set MAP_VECTOR_SHAPE 0.5
  6. # Center justified vectors
  7. gmt psxy -R0/6/-1/1 -Jx1i -P -K -W2p -Gred -S -B0g1 -B+t"GMT5 Vectors" << EOF > $ps
  8. 1 0 45 1.5i v18p+jc+b+e+p1p,blue+a45
  9. 3 0 45 1.5i v18p+jc+e+p-+a45
  10. 5 0 45 1.5i v18p+jc+e+a45
  11. EOF
  12. gmt psxy -R -J -O -W1p,blue -Gred -S -B0g1 -B+t"GMT4 Vectors" -Y3.5i << EOF >> $ps
  13. 1 0 45 1.5i vB4p/18p/7.5p
  14. 3 0 45 1.5i vb4p/18p/7.5p
  15. 5 0 45 1.5i vb4p/18p/7.5p
  16. EOF
Tip!

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

Comments

Loading...