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

filler.sh 547 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
  1. #!/usr/bin/env bash
  2. # Test line to polygon completion option -L<modifiers> in psxy
  3. ps=filler.ps
  4. cat << EOF > t.txt
  5. 1 1
  6. 2 3
  7. 3 2
  8. 4 4
  9. EOF
  10. gmt psxy -R0/5/0/5 -JX3i -P -K -B0 t.txt -Gred -W2p -L+yb > $ps
  11. gmt psxy -R -J -O -K -B0 t.txt -Gred -W2p -L+yt -X3.5i >> $ps
  12. gmt psxy -R -J -O -K -B0 t.txt -Ggreen -W2p -L+xl -X-3.5i -Y3.2i >> $ps
  13. gmt psxy -R -J -O -K -B0 t.txt -Ggreen -W2p -L+xr -X3.5i >> $ps
  14. gmt psxy -R -J -O -K -B0 t.txt -Gorange -W2p -L+y4 -X-3.5i -Y3.2i >> $ps
  15. gmt psxy -R -J -O -B0 t.txt -Gorange -W0.5p,white -L+x4.5+p2p -X3.5i >> $ps
Tip!

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

Comments

Loading...