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

eventlabelbox.sh 426 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
  1. #!/usr/bin/env bash
  2. # Test gmt psevents -H -D event labeling with some colored circles
  3. ps=eventlabelbox.ps
  4. gmt math -T1/9/1 T = | awk '{printf "%s\t%s\t%s\t%s\tEvent Label %s\n", $1, $1, $1, $1, $1}' > e.txt
  5. gmt makecpt -Cjet -T0/10 > q.cpt
  6. gmt psevents -R0/11/0/10 -Jx1.5c -Baf -BWSrt e.txt -Dj3c+v1p,red -F+f16p+jLM -Sc1c -Wthin -Cq.cpt -T6.5 -L1 -H+gpink+pthin+c25%+s+r -Es+r2+d6 -Et -Ms5+c0.5 -Mi1+c-0.6 -Mt+c0 -P > $ps
Tip!

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

Comments

Loading...