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

diagonal.sh 333 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
  1. #!/usr/bin/env bash
  2. ps=diagonal.ps
  3. gmt psxy -R0/90/0/70 -JM6i -Wthick,green -Gcyan -Baf -BWSne+t"Rectangle via diagonal" -Sr+s -P -K -Xc << EOF > $ps
  4. 15 5 25 35
  5. 2 30 10 50
  6. > -Gred
  7. 15 44 38 50
  8. > -G- -W5p,black
  9. 25 55 50 65
  10. EOF
  11. gmt psxy -R -J -O -A -Wthin -Glightbrown -Sr+s << EOF >> $ps
  12. 50 35 75 5
  13. 42 50 60 30
  14. > -Gred
  15. 88 50 65 65
  16. EOF
Tip!

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

Comments

Loading...