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

arrowline.sh 1.1 KB

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
  1. #!/usr/bin/env bash
  2. # Examine issue #1201
  3. ps=arrowline.ps
  4. cat << EOF > p.txt
  5. 0.2 0 0 2
  6. 0.4 0 0 1
  7. 0.6 0 0 0.5
  8. 0.8 0 0 0.25
  9. EOF
  10. # Bottom row
  11. gmt psxy -Jx10c -R0.1/0.9/-0.1/0.7 -SV1c+e+h0 -W0.5p,black -P -X2.5c -Y1.5c -K p.txt -Bx0 -Byg0.1 --PROJ_LENGTH_UNIT=cm > $ps
  12. gmt pstext -R -J -O -K -F+f18p+cTL+tCM -Dj0.1i >> $ps
  13. gmt psxy -J -R -SV1c+e+h0 -W0.5p,black -O -K p.txt -Bx0 -Byg0.1 -X8.5c --PROJ_LENGTH_UNIT=inch >> $ps
  14. gmt pstext -R -J -O -K -F+f18p+cTL+tINCH -Dj0.1i >> $ps
  15. # Middle row
  16. gmt psxy -J -R -SV1c+e+h0+n1c -W0.5p,black -O -K -X-8.5c -Y8.5c p.txt -Bx0 -Byg0.1 --PROJ_LENGTH_UNIT=cm >> $ps
  17. gmt pstext -R -J -O -K -F+f18p+cTL+tCM -Dj0.1i >> $ps
  18. gmt psxy -J -R -SV1c+e+h0+n2c -W0.5p,black -O -K p.txt -Bx0 -Byg0.1 -X8.5c --PROJ_LENGTH_UNIT=inch >> $ps
  19. gmt pstext -R -J -O -K -F+f18p+cTL+tINCH -Dj0.1i >> $ps
  20. # Top row
  21. gmt psxy -J -R -SV1c+e+h0+n1c -W0.5p,black -Gblack -O -K -X-8.5c -Y8.5c p.txt -Bx0 -Byg0.1 --PROJ_LENGTH_UNIT=cm >> $ps
  22. gmt pstext -R -J -O -K -F+f18p+cTL+tCM -Dj0.1i >> $ps
  23. gmt psxy -J -R -SV1c+e+h0+n1i -W0.5p,black -Gblack -O -K p.txt -Bx0 -Byg0.1 -X8.5c --PROJ_LENGTH_UNIT=inch >> $ps
  24. gmt pstext -R -J -O -F+f18p+cTL+tINCH -Dj0.1i >> $ps
Tip!

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

Comments

Loading...