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

plot_errbars.sh 532 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
  1. #!/usr/bin/env bash
  2. #
  3. # Plot error bars and test [c+l|f]+p<epen>
  4. ps=plot_errbars.ps
  5. cat << EOF > tt.d
  6. 1 1 1 1
  7. 2 2 2 1
  8. 3 3 3 1
  9. 4 4 4 1
  10. 5 5 5 1
  11. EOF
  12. gmt makecpt -Crainbow -T0/6/1 > tt.cpt
  13. gmt psxy -R0/6/0/6 -JX3i -P -B0 -Sc0.2i -Ctt.cpt -W0.25p -X1i -Y2i tt.d -Ex+p2p,red -K > $ps
  14. gmt psxy -R -J -O -B0 -Sc0.2i -Ctt.cpt -W0.25p -X3.25i tt.d -Ey+cl+p1p -K >> $ps
  15. gmt psxy -R -J -O -B0 -Sc0.2i -Ctt.cpt -W5p+c -X-3.25i -Y3.5i tt.d -Ey+cf+p1p -K >> $ps
  16. gmt psxy -R -J -O -B0 -Sc0.2i -Ctt.cpt -W0.25p,red -X3.25i tt.d -Ex+cl+p1p >> $ps
Tip!

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

Comments

Loading...