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

quotedlines.sh 446 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
  1. #!/bin/bash
  2. # $Id$
  3. # Place 3 lines with text along them
  4. ps=quotedlines.ps
  5. echo "> -L\"The first curve\"" > data.txt
  6. gmt math -T0/180/1 T SIND = >> data.txt
  7. echo "> -L\"The second curve\"" >> data.txt
  8. gmt math -T0/180/1 T SIND 2 ADD = >> data.txt
  9. echo "> -L\"The third curve\"" >> data.txt
  10. gmt math -T0/180/1 T SIND 4 ADD = >> data.txt
  11. gmt psxy -R-5/185/-1/6 -JX6i/9i -P -B0 -W1p,red -Sqn2:+v+f12p+Lh+p0.25p,blue data.txt --PS_COMMENTS=true > $ps
Tip!

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

Comments

Loading...