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

meanvec.sh 684 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
  1. #!/usr/bin/env bash
  2. # Test the gmt vector application
  3. ps=meanvec.ps
  4. gmt psxy -R58/70/-68:30/-61 -JM6i -Bafg1 -BWSne -Sc0.3c -Gred -W0.25p pts.txt -P -K -Xc > $ps
  5. gmt vector pts.txt -Am95 -fg -E > mean.txt
  6. gmt psxy -R -J -O -K -Sa0.5i -Gyellow -W1p mean.txt >> $ps
  7. gmt psxy -R -J -O -K -SE -W2p mean.txt >> $ps
  8. gmt vector pts.txt -Am99 -fg -E | gmt psxy -R58/70/-68:30/-61 -JM6i -O -K -SE -W1p,- >> $ps
  9. gmt vector pts.txt -Am90 -fg -E | gmt psxy -R58/70/-68:30/-61 -JM6i -O -K -SE -W1p,. >> $ps
  10. echo 58 -68:30 90%, 95% and 99% confidence ellipses on mean position | gmt pstext -R58/70/-68:30/-61 -JM6i -O -K -F+jLB+f14p -T -W0.5p -Dj0.2i -Gwhite >> $ps
  11. gmt psxy -R -J -O -T >> $ps
Tip!

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

Comments

Loading...