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

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

Comments

Loading...