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 590 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 psxyz
  3. ps=filler.ps
  4. cat << EOF > t.txt
  5. 1 1 0
  6. 2 3 0
  7. 3 2 0
  8. 4 4 0
  9. EOF
  10. gmt psxyz -R0/5/0/5/0/1 -JX3i -P -K -p170/35 -B0 t.txt -Gred -W2p -L+yb > $ps
  11. gmt psxyz -R -J -O -K -B0 -p t.txt -Gred -W2p -L+yt -X3.5i >> $ps
  12. gmt psxyz -R -J -O -K -B0 -p t.txt -Ggreen -W2p -L+xl -X-3.5i -Y3.2i >> $ps
  13. gmt psxyz -R -J -O -K -B0 -p t.txt -Ggreen -W2p -L+xr -X3.5i >> $ps
  14. gmt psxyz -R -J -O -K -B0 -p t.txt -Gorange -W2p -L+y4 -X-3.5i -Y3.2i >> $ps
  15. gmt psxyz -R -J -O -B0 -p 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...