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

GMT_pstext_justify.sh 662 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
  1. #!/usr/bin/env bash
  2. gmt begin GMT_pstext_justify
  3. B=0.2
  4. M=0.38
  5. T=0.56
  6. L=0.10
  7. C=1.04
  8. R=1.98
  9. gmt text -R0/3/0/1.5 -Jx1i -N -C0 -Wthin,- -F+f36p,Helvetica-Bold+jLB << EOF
  10. 0.1 0.2 My Text
  11. EOF
  12. gmt plot -N << EOF
  13. >
  14. 0.05 $B
  15. 2.04 $B
  16. >
  17. 0.05 $M
  18. 2.04 $M
  19. >
  20. 0.05 $T
  21. 2.04 $T
  22. >
  23. $L 0
  24. $L 0.65
  25. >
  26. $C 0
  27. $C 0.65
  28. >
  29. $R 0
  30. $R 0.65
  31. EOF
  32. gmt plot -N -Wthinner << EOF
  33. >
  34. 0.7 -0.1
  35. $L $M
  36. >
  37. 1.3 -0.1
  38. $R $T
  39. EOF
  40. gmt text -N -F+f8p+j << EOF
  41. $L 0.69 CB L (Left)
  42. $C 0.69 CB C (Center)
  43. $R 0.69 CB R (Right)
  44. 2.07 $T LM T (Top)
  45. 2.07 $M LM M (Middle)
  46. 2.07 $B LM B (Bottom)
  47. 0.6 -0.05 LM LM
  48. 1.37 -0.05 RM TR
  49. EOF
  50. gmt plot -Sc0.05 << EOF
  51. $L $B
  52. $L $M
  53. $L $T
  54. $C $B
  55. $C $M
  56. $C $T
  57. $R $B
  58. $R $M
  59. $R $T
  60. EOF
  61. gmt end show
Tip!

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

Comments

Loading...