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

explain_symbols_only.rst_ 6.7 KB

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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
  1. **-S**\ [*symbol*][*size*]
  2. Plot individual symbols.
  3. If present, *size* is symbol size in the unit set in
  4. :doc:`gmt.conf` (unless **c**, **i**, or **p** is appended). If the symbol
  5. code (see below) is not given it will be read from the last column in
  6. the input data; this cannot be used in conjunction with binary input.
  7. Optionally, append **c**, **i**, or
  8. **p** to indicate that the size information in the input data is in
  9. units of cm, inch, or point, respectively [Default is
  10. :term:`PROJ_LENGTH_UNIT`]. **Note**: If you provide *both* size and symbol via the
  11. input file you must use :term:`PROJ_LENGTH_UNIT` to indicate the unit
  12. used for the symbol size or append the units to the sizes in the file.
  13. If symbol sizes are expected via the third data column then you may convert
  14. those values to suitable symbol sizes via the **-i** mechanism. The general
  15. input expectations are::
  16. *x y* [ *z* ] [ *size* ] [ *symbol-parameters* ] [ *symbol* ]
  17. where the optional *z* is required when **-C** is used, the optional
  18. *size* is required when no symbol size is specified, and the trailing
  19. text with the symbol code is required when symbol code is not specified
  20. on the command line. The *symbol-parameters* may vary in numbers; see
  21. specifics below.
  22. The uppercase symbols **A**, **C**, **D**, **G**, **H**, **I**, **N**,
  23. **S**, **T** are normalized to have the same area as a circle with
  24. diameter *size*, while the size of the corresponding lowercase symbols
  25. refers to the diameter of a circumscribed circle.
  26. You can change symbols by adding the required **-S** option to any of
  27. your multisegment headers.
  28. Choose between these symbol codes:
  29. **-S-**
  30. x-dash (-). *size* is the length of a short horizontal (x-dir) line segment.
  31. **-S+**
  32. plus (+). *size* is diameter of circumscribing circle.
  33. **-Sa**
  34. st\ **a**\ r. *size* is diameter of circumscribing circle.
  35. **-Sb**\ [*size*\ [**c**\|\ **i**\|\ **p**\|\ **u**]][**+b**\ [*base*]]
  36. Vertical **b**\ ar extending from *base* to y. The *size* is bar width.
  37. Append **u** if *size* is in x-units [Default is plot-distance units].
  38. By default, *base* = 0. Append **+b**\ [*base*] to change this
  39. value. If *base* is not appended then we read it from the last input
  40. data column. Use **+B**\ [*base*] if the bar height is measured relative
  41. to *base* [Relative to origin].
  42. **-SB**\ [*size*\ [**c**\|\ **i**\|\ **p**\|\ **u**]][**+b**\ [*base*]]
  43. Horizontal **b**\ ar extending from *base* to x. The *size* is bar width.
  44. Append **u** if *size* is in y-units [Default is plot-distance units].
  45. By default, *base* = 0. Append **+b**\ [*base*] to change this
  46. value. If *base* is not appended then we read it from the last input
  47. data column. Use **+B**\ [*base*] if the bar length is measured relative
  48. to *base* [Relative to origin].
  49. **-Sc**
  50. **c**\ ircle. *size* is diameter of circle.
  51. **-Sd**
  52. **d**\ iamond. *size* is diameter of circumscribing circle.
  53. **-Se**
  54. **e**\ llipse. Direction (in degrees counter-clockwise from horizontal),
  55. major_axis, and minor_axis must be found in columns 3, 4, and 5.
  56. **-Sg**
  57. octa\ **g**\ on. *size* is diameter of circumscribing circle.
  58. **-Sh**
  59. **h**\ exagon. *size* is diameter of circumscribing circle.
  60. **-Si**
  61. **i**\ nverted triangle. *size* is diameter of circumscribing circle.
  62. **-Sj**
  63. Rotated rectangle. Direction (in degrees counter-clockwise from
  64. horizontal), x-dimension, and y-dimension must be found in columns 3, 4, and 5.
  65. **-Sk**
  66. **k**\ ustom symbol. Append *name*\ /\ *size*, and we will look for a
  67. definition file called *name*\ .def in (1) the current
  68. directory or (2) in ~/.gmt or (3) in
  69. **$GMT_SHAREDIR**/custom. The symbol as defined in that file is of size
  70. 1.0 by default; the appended *size* will scale symbol accordingly. Users
  71. may add their own custom \*.def files; see CUSTOM SYMBOLS below.
  72. **-Sl**
  73. **l**\ etter or text string (less than 256 characters). Give size, and
  74. append **+t**\ *string* after the size. Note that the size is only approximate;
  75. no individual scaling is done for different characters. Remember to
  76. escape special characters like \*. Optionally, you may append **+f**\ *font*
  77. to select a particular font [Default is :term:`FONT_ANNOT_PRIMARY`] and
  78. **+j**\ *justify* to change justification [CM].
  79. **-Sn**
  80. pe\ **n**\ tagon. *size* is diameter of circumscribing circle.
  81. **-Sp**
  82. **p**\ oint. No size needs to be specified (1 pixel is used).
  83. **-Sr**
  84. **r**\ ectangle. No size needs to be specified, but the x- and
  85. y-dimensions must be found in columns 3 and 4.
  86. **-SR**
  87. **R**\ ounded rectangle. No size needs to be specified, but the x-
  88. and y-dimensions and corner radius must be found in columns 3, 4, and 5.
  89. **-Ss**
  90. **s**\ quare. *size* is diameter of circumscribing circle.
  91. **-St**
  92. **t**\ riangle. *size* is diameter of circumscribing circle.
  93. **-Sw**
  94. pie **w**\ edge. Start and stop directions (in degrees
  95. counter-clockwise from horizontal) for pie slice must be found in
  96. columns 3 and 4. Append /*inner* to select a separate inner diameter [0].
  97. Append **+a**\ [*dr*] to draw the arc line (at inner and outer diameter);
  98. if *dr* is appended then we draw all arc lines separated radially by *dr*.
  99. Append **+r**\ [*da*] to draw radial lines (at start and stop directions)
  100. if *da* is appended then we draw all radial lines separated angularly by *da*.
  101. These spider-web lines are drawn using the current pen unless **+p**\ *pen* is added.
  102. **-SW**
  103. Same as **-Sw**, except azimuths (in degrees east of north) should
  104. be given instead of the two directions. The azimuths will be mapped
  105. into angles based on the chosen map projection (**-Sw** leaves the
  106. directions unchanged).
  107. Append /*inner* to select a separate inner diameter [0].
  108. Append **+a**\ [*dr*] to draw the arc line (at inner and outer diameter);
  109. if *dr* is appended then we draw all arc lines separated radially by *dr*.
  110. Append **+r**\ [*da*] to draw radial lines (at start and stop directions)
  111. if *da* is appended then we draw all radial lines separated angularly by *da*.
  112. These spider-web lines are drawn using the current pen unless **+p**\ *pen* is added.
  113. **-Sx**
  114. cross (x). *size* is diameter of circumscribing circle.
  115. **-Sy**
  116. y-dash (\|). *size* is the length of a short vertical (y-dir) line segment.
Tip!

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

Comments

Loading...