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

logclip.sh 461 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
  1. #!/usr/bin/env bash
  2. #
  3. # Check clipping of symbols with error bars
  4. ps=logclip.ps
  5. cat << EOF > data.txt
  6. 1 120 0.5 40
  7. 2 50 0.5 30
  8. 3 20 0.5 10
  9. 4 5 0.5 3
  10. 5 2 0.5 2
  11. 6 1.2 0.5 1
  12. 7 0.8 0.5 1
  13. 8 0.3 0.5 1
  14. EOF
  15. gmt psxy -R0/10/1e0/1e2 -Jx0.20i/1.0il -Xc -Y2i -BneWS -Bxa5f -Bya1f3p data.txt -Wthick -Exy0i/thick -Sc.0001i -P -K > $ps
  16. gmt psxy -R -J -Y4i -BneWS -Bxa5f -Bya1f3p data.txt -Wthick -Exy0i/thick -Sc.0001i -N -O >> $ps
  17. rm -f data.txt
Tip!

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

Comments

Loading...