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

plot_symbols.sh 722 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
36
37
38
39
40
  1. #!/usr/bin/env bash
  2. #
  3. # Plot all the symbols on a 1x1 inch grid pattern
  4. ps=plot_symbols.ps
  5. gmt psxy -R0/4/1/6 -Jx1i -P -Bg1 -Gred -W0.25p -S1i -X2i -Y2i << EOF > $ps
  6. > Fat pen -W2p
  7. 0.5 5.5 -
  8. > Plain red symbols -W- -Gred
  9. 1.5 5.5 b+b5
  10. 2.5 5.5 B+b2
  11. 3.5 5.5 c
  12. > Switch to green -Ggreen -W1p
  13. 0.5 4.5 d
  14. 1.5 4.5 90 1 0.5 e
  15. 2.5 4.5 g
  16. 3.5 4.5 h
  17. > Do pattern # 7 -Gp7+r100
  18. 0.5 3.5 i
  19. 1.5 3.5 90 1 0.5 j
  20. > Do orange -Gorange
  21. 2.5 3.5 l+tM
  22. 3.5 3.5 n
  23. > Do yellowized pattern # 20 -Gp20+fyellow+r100
  24. 0.5 2.5 1 0.5 r
  25. 1.5 2.5 s
  26. 2.5 2.5 t
  27. > Blue wedges -Gblue
  28. 3.5 2.5 80 30 w
  29. 0.5 1.5 30 80 w
  30. > Fat red pen -W2p,red
  31. 1.5 1.5 x
  32. > Fat pen -W2p
  33. 1.5 1.5 +
  34. 2.5 1.5 y
  35. > Dual-colored pattern # 12 -Gp12+fred+bgreen+r100 -W3p,orange
  36. 3.5 1.5 a
  37. EOF
Tip!

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

Comments

Loading...