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

saver.sh 348 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
19
20
21
  1. #!/usr/bin/env bash
  2. #
  3. ps=saver.ps
  4. cat << EOF > t.txt
  5. 0 2 5
  6. 1 4 5
  7. 2 0.5 5
  8. 3 3 9
  9. 4 4.5 5
  10. 4.2 1.2 5
  11. 6 3 1
  12. 8 1 5
  13. 9 4.5 5
  14. EOF
  15. gmt pscontour t.txt -C1 -A2 -Ddump
  16. gmt psxy t.txt -R-2/11/-1/6 -Jx0.5i -Ss0.1i -Gred -P -K -Xc > $ps
  17. gmt psxy dump -R -J -Sc0.05i -Gblue -O -K >> $ps
  18. gmt pscontour t.txt -R -J -B2g1 -C1 -A1 -W0.25p -Gl6.1/-1/6.1/6 -O >> $ps
Tip!

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

Comments

Loading...