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

matharrow.sh 401 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
  1. #!/usr/bin/env bash
  2. # Test proper drawing of math angles
  3. ps=matharrow.ps
  4. r=1.75c
  5. gmt psxy -R-5/5/-8/8 -Jx0.6i -Sm0.3i+b+e+r -W0.5p,red -Gblue -Bag3 -P -Xc << EOF > $ps
  6. -3 -6 $r 5 85
  7. -3 -3 $r 20 135
  8. -3 0 $r 30 174
  9. -3 3 $r 40 226
  10. -3 6 $r 50 349
  11. 0 -6 $r 100 164
  12. 0 -3 $r 120 177
  13. 0 0 $r 130 238
  14. 0 3 $r 140 290
  15. 0 6 $r 150 355
  16. 3 -6 $r 240 305
  17. 3 -3 $r 260 320
  18. 3 0 $r 270 355
  19. 3 3 $r 280 390
  20. 3 6 $r 290 420
  21. EOF
Tip!

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

Comments

Loading...