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

hilow.sh 484 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
22
23
  1. #!/usr/bin/env bash
  2. #
  3. ps=hilow.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 -R-2/11/-1/6 -Jx0.5i -B2g1 -C1 -A2 -Wa1p,red -Wc0.25p,blue -L0.25p,- -GlZ-/Z+ -P -K -T+d0.1i/0.05i+lLH > $ps
  16. gmt psxy t.txt -R -J -Sc0.05i -Gblack -O -K >> $ps
  17. gmt makecpt -T0/10/1 -Crainbow > t.cpt
  18. gmt pscontour t.txt -R-2/11/-1/6 -Jx0.5i -B2g1 -Ct.cpt -I -W0.25p -GlZ-/Z+ -O -K -Y4.25i >> $ps
  19. gmt psxy t.txt -R -J -Sc0.1i -W2p -O >> $ps
Tip!

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

Comments

Loading...