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

linez.sh 645 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
16
17
18
  1. #!/usr/bin/env bash
  2. # Test line and circle with -Jz and no z-range in psxyz
  3. ps=linez.ps
  4. cat << EOF > t.txt
  5. 171.30838013 -43.26358414 0
  6. 172.51367188 -43.0739212 0
  7. 172.77407837 -43.91355896 0
  8. 171.55262756 -44.10588837 0
  9. 171.30838013 -43.26358414 0
  10. 172.037268937 -43.590911863 0
  11. 172.037268937 -43.590911863 2
  12. 172.037268937 -43.590911863 4
  13. 172.037268937 -43.590911863 6
  14. 172.037268937 -43.590911863 8
  15. 172.037268937 -43.590911863 10
  16. EOF
  17. gmt psxyz -JOA172.037268937/-43.590911863/77.7384168395/12c t.txt -W2p,blue -R171.553/-44.1059/172.514/-43.0739r -p160/45 -Jz1c -Bafg -BWSneZ -P -K > $ps
  18. gmt psxyz -JO t.txt -Gred@50 -Sc0.2i -N -R -p -Jz -O >> $ps
Tip!

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

Comments

Loading...