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

origin.sh 568 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
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
  1. #!/usr/bin/env bash
  2. #
  3. ps=origin.ps
  4. n=0
  5. plot () {
  6. let n=$n+1
  7. gmt pstext --GMT_VERBOSE=0 -R0/1/0/1 -JX1i -B0 -F+jMC $1 $2 $4 $3 <<%
  8. 0.5 0.8 ($n)
  9. 0.5 0.5 $1
  10. 0.5 0.2 $2
  11. %
  12. }
  13. plot -Xa1i -Ya2i -P -K > $ps
  14. plot -X2i -Y2i -O -K >> $ps
  15. plot -Xc -Yc -O -K >> $ps
  16. plot -X-2i "" -O -K >> $ps
  17. plot -Ya-2i "" -O -K >> $ps
  18. plot -X1i "" -O -K >> $ps
  19. plot -Xc1i -Y-1i -O -K >> $ps
  20. plot -X -Y -O -K >> $ps
  21. plot -Xf6i -Y -O -K >> $ps
  22. plot -X -Y -O -K >> $ps
  23. plot -Xf4.75i -Yf5i -O -K >> $ps
  24. gmt psxy -Xf0 -Yf0 -R0/1/0/1 -JX8.5i/11i -Wthinnest,red -O >> $ps <<%
  25. 0 0
  26. 1 1
  27. >
  28. 0 1
  29. 1 0
  30. %
Tip!

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

Comments

Loading...