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

reduce.sh 604 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
  1. #!/usr/bin/env bash
  2. # Testing gmt simplify on GSHHS high Australia polygon.
  3. ps=reduce.ps
  4. gmt psxy @GSHHS_h_Australia.txt -R112/154/-40/-10 -JM5.5i -P -Sc0.01c -Gred -K -B20 -BWSne -Xc > $ps
  5. gmt simplify @GSHHS_h_Australia.txt -T50k | gmt psxy -R -J -O -K -W0.25p,blue >> $ps
  6. echo 112 -10 T = 50km | gmt pstext -R -J -O -K -Dj0.1i/0.1i -F+jTL+f18p >> $ps
  7. gmt psxy @GSHHS_h_Australia.txt -R -J -O -Sc0.01c -Gred -K -B20 -BWsne -Y4.7i >> $ps
  8. gmt simplify @GSHHS_h_Australia.txt -T100k | gmt psxy -R -J -O -K -W0.25p,blue >> $ps
  9. echo 112 -10 T = 100km | gmt pstext -R -J -O -Dj0.1i/0.1i -F+jTL+f18p >> $ps
Tip!

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

Comments

Loading...