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

datagrep.sh 530 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
  1. #!/usr/bin/env bash
  2. # Test that psxy can select on data records using -e
  3. ps=datagrep.ps
  4. cat << EOF > no_HI_LV.txt
  5. Hawaii-Emperor
  6. Louisville
  7. EOF
  8. gmt pscoast -R140E/280E/60S/60N -JM7i -P -Baf -B+t"Dated seamounts in the Pacific" -Ggray -K -Xc > $ps
  9. # Plot all but HI and LV
  10. gmt psxy @Pacific_Ages.txt -R -J -O -K -e~+fno_HI_LV.txt -St0.1i -Ggreen >> $ps
  11. # Plot just HI
  12. gmt psxy @Pacific_Ages.txt -R -J -O -K -eHawaii-Emperor -St0.1i -Gred >> $ps
  13. # Plot just LV
  14. gmt psxy @Pacific_Ages.txt -R -J -O -eLouisville -St0.1i -Gblue >> $ps
Tip!

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

Comments

Loading...