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

lines.sh 344 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
  1. #!/usr/bin/env bash
  2. # Test gmt psevents with lines
  3. ps=lines.ps
  4. # Create a sinusoid, then only plot what should be visible at t = 200 given a duration of 90
  5. echo "> Snake line" > line.txt
  6. gmt math -T0/360/1 T SIND -o0,1,0 = >> line.txt
  7. gmt psevents -R-40/400/-2/2 -JX15c/10c -Baf -B+t"Snake line" line.txt -Ar -T200 -Es -W2p,red -L90 -P > $ps
Tip!

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

Comments

Loading...