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.rst_ 27 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
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
  1. **-S**\ [*symbol*][*size*]
  2. Plot symbols (including vectors, pie slices, fronts, decorated or quoted lines).
  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. **-SE**
  57. Same as **-Se**, except azimuth (in degrees east of north) should be
  58. given instead of direction. The azimuth will be mapped into an angle
  59. based on the chosen map projection (**-Se** leaves the directions
  60. unchanged.) Furthermore, the axes lengths must be given in geographical instead of
  61. plot-distance units. An exception occurs for a linear projection in
  62. which we assume the ellipse axes are given in the same units as **-R**.
  63. For degenerate ellipses (circles) with just the diameter given, use **-SE-**.
  64. The diameter is excepted to be given in column 3. Alternatively, append
  65. the desired diameter to **-SE-** and this fixed diameter is used instead.
  66. For allowable geographical units, see `Units`_ [Default is k for km].
  67. **-Sf**\ [±]\ *gap*\ [/*size*][**+l**\|\ **+r**][**+b+c+f+s+t**][**+o**\ *offset*][**+p**\ [*pen*]].
  68. Draw a **f**\ ront. Supply distance *gap* between symbols and symbol *size*. If *gap* is
  69. negative, it is interpreted to mean the number of symbols along the
  70. front instead. If *gap* has a leading + then we use the value exactly as given
  71. [Default will start and end each line with a symbol, hence the *gap* is adjusted to fit].
  72. If *size* is missing it is set to 30% of the *gap*, except
  73. when *gap* is negative and *size* is thus required. Append **+l** or
  74. **+r** to plot symbols on the left or
  75. right side of the front [Default is centered]. Append **+**\ *type* to
  76. specify which symbol to plot: **b**\ ox, **c**\ ircle, **f**\ ault,
  77. **s**\ lip, or **t**\ riangle. [Default is **f**\ ault]. Slip means
  78. left-lateral or right-lateral strike-slip arrows (centered is not an
  79. option). The **+s** modifier optionally accepts the angle used to draw
  80. the vector [20]. Alternatively, use **+S** which draws arcuate arrow
  81. heads. Append **+o**\ *offset* to offset the first symbol from the
  82. beginning of the front by that amount [0]. The chosen symbol is drawn
  83. with the same pen as set for the line (i.e., via **-W**). To use an
  84. alternate pen, append **+p**\ *pen*. To skip the outline, just use
  85. **+p**. To make the main front line invisible, add **+i**. **Note**:
  86. By placing **-Sf** options in the segment header you can change the front
  87. types on a segment-by-segment basis.
  88. **-Sg**
  89. octa\ **g**\ on. *size* is diameter of circumscribing circle.
  90. **-Sh**
  91. **h**\ exagon. *size* is diameter of circumscribing circle.
  92. **-Si**
  93. **i**\ nverted triangle. *size* is diameter of circumscribing circle.
  94. **-Sj**
  95. Rotated rectangle. Direction (in degrees counter-clockwise from
  96. horizontal), x-dimension, and y-dimension must be found in columns 3, 4, and 5.
  97. **-SJ**
  98. Same as **-Sj**, except azimuth (in degrees east of north) should be
  99. given instead of direction. The azimuth will be mapped into an angle
  100. based on the chosen map projection (**-Sj** leaves the directions
  101. unchanged.) Furthermore, the dimensions must be given in geographical instead of
  102. plot-distance units.
  103. For a degenerate rectangle (square) with one dimension given, use **-SJ-**.
  104. The dimension is excepted to be given in column 3. Alternatively, append
  105. the dimension diameter to **-SJ-** and this fixed dimension is used instead.
  106. An exception occurs for a linear projection in
  107. which we assume the dimensions are given in the same units as **-R**.
  108. For allowable geographical units, see `Units`_ [Default is k for km].
  109. **-Sk**
  110. **k**\ ustom symbol. Append *name*\ /\ *size*, and we will look for a
  111. definition file called *name*\ .def in (1) the current
  112. directory or (2) in ~/.gmt or (3) in
  113. **$GMT_SHAREDIR**/custom. The symbol as defined in that file is of size
  114. 1.0 by default; the appended *size* will scale symbol accordingly. Users
  115. may add their own custom \*.def files; see CUSTOM SYMBOLS below.
  116. **-Sl**
  117. **l**\ etter or text string (less than 256 characters). Give size, and
  118. append **+t**\ *string* after the size. **Note**: The size is only approximate;
  119. no individual scaling is done for different characters. Remember to
  120. escape special characters like \*. Optionally, you may append **+f**\ *font*
  121. to select a particular font [Default is :term:`FONT_ANNOT_PRIMARY`] and
  122. **+j**\ *justify* to change justification [CM].
  123. **-Sm**
  124. **m**\ ath angle arc, optionally with one or two arrow heads [Default is
  125. no arrow heads]. The *size* is the length of the vector head. Arc width
  126. is set by **-W**, with vector head outlines defaulting to half of arc width.
  127. The radius of the arc and its start and stop
  128. directions (in degrees counter-clockwise from horizontal) must be given
  129. in columns 3-5. See `Vector Attributes`_ for specifying other attributes.
  130. **-SM**
  131. Same as **-Sm** but switches to straight angle symbol if angles subtend
  132. 90 degrees exactly.
  133. **-Sn**
  134. pe\ **n**\ tagon. *size* is diameter of circumscribing circle.
  135. **-Sp**
  136. **p**\ oint. No size needs to be specified (1 pixel is used).
  137. **-Sq**
  138. **q**\ uoted line, i.e., lines with annotations such as contours. Append
  139. [**d**\|\ **D**\|\ **f**\|\ **l**\|\ **L**\|\ **n**\|\ **N**\|\ **s**\|\ **S**\|\ **x**\|\ **X**]\ *info*\ [:*labelinfo*].
  140. **Note**: The colon that separates the algorithm settings from the label information.
  141. The required argument controls the placement of labels along the quoted
  142. lines. Choose among six controlling algorithms:
  143. **d**\ *dist*\ [**c**\|\ **i**\|\ **p**] or **D**\ *dist*\ [**d**\|\ **e**\|\ **f**\|\ **k**\|\ **m**\|\ **M**\|\ **n**\|\ **s**]
  144. For lower case **d**, give distances between labels on the plot in
  145. your preferred measurement unit **c** (cm), **i** (inch), or **p**
  146. (points), while for upper case **D**, specify distances in map units
  147. and append the unit; choose among **e** (m), **f** (foot), **k**
  148. (km), **M** (mile), **n** (nautical mile) or **u** (US survey foot),
  149. and **d** (arc degree), **m** (arc minute), or **s** (arc second).
  150. [Default is 10\ **c** or 4\ **i**]. As an option, you can append
  151. /*fraction* which is used to place the very first label for each
  152. contour when the cumulative along-contour distance equals *fraction
  153. \* dist* [0.25].
  154. **f**\ *ffile.txt*
  155. Reads the ASCII file *ffile.txt* and places labels at locations in the
  156. file that matches locations along the quoted lines. Inexact matches
  157. and points outside the region are skipped.
  158. **l**\|\ **L**\ *line1*\ [,\ *line2*,...]
  159. Give the coordinates of the end points for one or more comma-separated straight line segments.
  160. Labels will be placed where these lines intersect the quoted lines.
  161. The format of each *line* specification is *start_lon*/*start_lat*/*stop_lon*/*stop_lat*.
  162. Both *start_lon*/*start_lat* and *stop_lon*/*stop_lat* can be replaced by a 2-character key
  163. that uses the justification format employed in **text** to indicate a point on the frame or
  164. center of the map, given as [LCR][BMT].
  165. **L** will interpret the point pairs as defining great circles [Default is straight line].
  166. **n**\|\ **N**\ *n_label*
  167. Specifies the number of equidistant labels for quoted lines
  168. [1]. Upper case **N** starts labeling exactly at the start of the
  169. line [Default centers them along the line]. **N**-1 places one
  170. justified label at start, while **N**\ +1 places one justified label
  171. at the end of quoted lines. Optionally, append
  172. /*min_dist*\ [**c**\|\ **i**\|\ **p**] to enforce that a
  173. minimum distance separation between successive labels is enforced.
  174. **s**\|\ **S**\ *n_label*
  175. Same as **n**\|\ **N**\ *n_label* but implies that the input data are
  176. first to be converted into a series of 2-point line segments before plotting.
  177. **x**\|\ **X**\ *xfile.txt*
  178. Reads the multisegment file *xfile.txt* and places labels at the
  179. intersections between the quoted lines and the lines in *xfile.txt*.
  180. **X** will resample the lines first along great-circle arcs.
  181. In addition, you may optionally append
  182. **+r**\ *radius*\ [**c**\|\ **i**\|\ **p**] to set a minimum
  183. label separation in the x-y plane [no limitation].
  184. The optional *labelinfo* controls the specifics of the label
  185. formatting and consists of a concatenated string made up of any of
  186. the following control arguments:
  187. **+a**\ *angle*
  188. For annotations at a fixed angle, **+an** for line-normal, or
  189. **+ap** for line-parallel [Default].
  190. **+c**\ *dx*\ [/*dy*]
  191. Sets the clearance between label and optional text box. Append
  192. **c**\|\ **i**\|\ **p** to specify the unit or % to indicate a
  193. percentage of the label font size [15%].
  194. **+d**
  195. Turns on debug which will draw helper points and lines to illustrate
  196. the workings of the quoted line setup.
  197. **+e**
  198. Delay the plotting of the text. This is used to build a clip path
  199. based on the text, then lay down other overlays while that clip path
  200. is in effect, then turning of clipping with clip **-Cs** which
  201. finally plots the original text.
  202. **+f**\ *font*
  203. Sets the desired font [Default :term:`FONT_ANNOT_PRIMARY` with its
  204. size changed to 9p].
  205. **+g**\ [*color*]
  206. Selects opaque text boxes [Default is transparent]; optionally
  207. specify the color [Default is :term:`PS_PAGE_COLOR`].
  208. **+i**
  209. Make the main quoted line invisible [Draw it per **-W**].
  210. **+j**\ *just*
  211. Sets label justification [Default is MC]. Ignored when
  212. **-SqN**\|\ **n**\ +\|-1 is used.
  213. **+l**\ *label*
  214. Sets the constant label text. Warning: if the text length exceeds the line length then no text will appear.
  215. **+L**\ *flag*
  216. Sets the label text according to the specified flag:
  217. **+Lh**
  218. Take the label from the current segment header (first scan for
  219. an embedded **-L**\ *label* option, if not use the first word
  220. following the segment flag). For multiple-word labels, enclose
  221. entire label in double quotes.
  222. **+Ld**
  223. Take the Cartesian plot distances along the line as the label;
  224. append **c**\|\ **i**\|\ **p** as the unit [Default is
  225. :term:`PROJ_LENGTH_UNIT`].
  226. **+LD**
  227. Calculate actual map distances; append
  228. **d\|e\|f\|k\|n\|M\|n\|s** as the unit [Default is
  229. **d**\ (egrees), unless label placement was based on map
  230. distances along the lines in which case we use the same unit
  231. specified for that algorithm]. Requires a map projection to be
  232. used.
  233. **+Lf**
  234. Use text after the 2nd column in the fixed label location file
  235. as the label. Requires the fixed label location setting.
  236. **+Lx**
  237. As **+Lh** but use the headers in the *xfile.txt* instead.
  238. Requires the crossing file option.
  239. **+n**\ *dx*\ [/*dy*]
  240. Nudges the placement of labels by the specified amount (append
  241. **c**\|\ **i**\|\ **p** to specify the units). Increments
  242. are considered in the coordinate system defined by the
  243. orientation of the line; use **+N** to force increments in the
  244. plot x/y coordinates system [no nudging]. Not allowed with **+v**.
  245. **+o**
  246. Selects rounded rectangular text box [Default is rectangular].
  247. Not applicable for curved text (**+v**) and only makes sense for
  248. opaque text boxes.
  249. **+p**\ [*pen*]
  250. Draws the outline of text boxes [Default is no outline];
  251. optionally specify pen for outline [Default is width = 0.25p,
  252. color = black, style = solid].
  253. **+r**\ *min_rad*
  254. Will not place labels where the line's radius of curvature is
  255. less than *min_rad* [Default is 0].
  256. **+t**\ [*file*]
  257. Saves line label x, y, and text to *file* [Line_labels.txt].
  258. Use **+T** to save x, y, angle, text instead.
  259. **+u**\ *unit*
  260. Appends *unit* to all line labels. If *unit* starts with a
  261. leading hyphen (-) then there will be no space between label
  262. value and the unit. [Default is no unit].
  263. **+v**
  264. Specifies curved labels following the path [Default is straight labels].
  265. **+w**
  266. Specifies how many (*x*,\ *y*) points will be used to estimate
  267. label angles [Default is 10].
  268. **+x**\ [*first*,\ *last*]
  269. Append the suffices *first* and *last* to the corresponding labels.
  270. This modifier is only available when **-SqN2** is in effect. Used
  271. to annotate the start and end of a line (e.g., a cross-section),
  272. append two text strings separated by comma
  273. [Default just adds a prime to the second label].
  274. **+=**\ *prefix*
  275. Prepends *prefix* to all line labels. If *prefix* starts with a
  276. leading hyphen (-) then there will be no space between label
  277. value and the prefix. [Default is no prefix].
  278. **Note**: By placing **-Sq** options in the segment header you can change
  279. the quoted text attributes on a segment-by-segment basis.
  280. **-Sr**
  281. **r**\ ectangle. No size needs to be specified, but the x- and
  282. y-dimensions must be found in columns 3 and 4. Alternatively, append **+s**
  283. and then the diagonal corner coordinates are expected in columns 3 and 4.
  284. **-SR**
  285. **R**\ ounded rectangle. No size needs to be specified, but the x-
  286. and y-dimensions and corner radius must be found in columns 3, 4, and 5.
  287. **-Ss**
  288. **s**\ quare. *size* is diameter of circumscribing circle.
  289. **-St**
  290. **t**\ riangle. *size* is diameter of circumscribing circle.
  291. **-Sv**
  292. **v**\ ector. Direction (in degrees counter-clockwise from
  293. horizontal) and length must be found in columns 3 and 4, and *size*,
  294. if not specified on the command-line, should be present in column 3, pushing
  295. the other items to later columns.
  296. The *size* is the length of the vector head. Vector stem width is set by **-W**,
  297. with head outline pen width defaulting to half of stem pen width.
  298. See `Vector Attributes`_ for specifying this and other attributes. But also be aware
  299. that using color via a CPT implies a shift of columns 3 and on to accommodate
  300. the color fill determined by the z-value in new 3rd column (See **-C** option).
  301. **-SV**
  302. Same as **-Sv**, except azimuth (in degrees east of north) should be
  303. given instead of direction. The azimuth will be mapped into an angle
  304. based on the chosen map projection (**-Sv** leaves the directions
  305. unchanged.) If your *length* is not in plot units but in arbitrary
  306. user units (e.g., a rate in mm/yr) then you can use the **-i** option
  307. to scale the corresponding column via the **+s**\ *scale* modifier.
  308. See `Vector Attributes`_ for specifying symbol attributes.
  309. **-Sw**
  310. pie **w**\ edge. Start and stop directions (in degrees
  311. counter-clockwise from horizontal) for pie slice must be found in
  312. columns 3 and 4. Append /*inner* to select a separate inner diameter [0].
  313. Append **+a**\ [*dr*] to draw the arc line (at inner and outer diameter);
  314. if *dr* is appended then we draw all arc lines separated radially by *dr*.
  315. Append **+r**\ [*da*] to draw radial lines (at start and stop directions)
  316. if *da* is appended then we draw all radial lines separated angularly by *da*.
  317. These spider-web lines are drawn using the current pen unless **+p**\ *pen* is added.
  318. **-SW**
  319. Same as **-Sw**, except azimuths (in degrees east of north) should
  320. be given instead of the two directions. The azimuths will be mapped
  321. into angles based on the chosen map projection (**-Sw** leaves the
  322. directions unchanged). Specify *size* as a geographical diameter.
  323. For allowable geographical units, see `Units`_ [Default is k for km]. To instead
  324. specify a diameter in plot units, you must append the desired unit.
  325. Append /*inner* to select a separate inner diameter [0].
  326. Append **+a**\ [*dr*] to draw the arc line (at inner and outer diameter);
  327. if *dr* is appended then we draw all arc lines separated radially by *dr*.
  328. Append **+r**\ [*da*] to draw radial lines (at start and stop directions)
  329. if *da* is appended then we draw all radial lines separated angularly by *da*.
  330. These spider-web lines are drawn using the current pen unless **+p**\ *pen* is added.
  331. **-Sx**
  332. cross (x). *size* is diameter of circumscribing circle.
  333. **-Sy**
  334. y-dash (\|). *size* is the length of a short vertical (y-dir) line segment.
  335. **-S=**
  336. geovector. Azimuth (in degrees east from north) and geographical length
  337. must be found in columns 3 and 4. The *size* is the length of the
  338. vector head. Vector width is set by **-W**. See `Vector Attributes`_
  339. for specifying attributes. **Note**: Geovector stems are drawn as thin
  340. filled polygons and hence pen attributes like dashed and dotted are
  341. not available. For allowable geographical units, see `Units`_.
  342. **-S~**
  343. decorated line, i.e., lines with symbols along them. Append
  344. [**d**\|\ **D**\|\ **f**\|\ **l**\|\ **L**\|\ **n**\|\ **N**\|\ **s**\|\ **S**\|\ **x**\|\ **X**]\ *info*\ [:*symbolinfo*].
  345. **Note**: The colon that separates the algorithm settings from the symbol information.
  346. The required argument controls the placement of symbols along the decorated
  347. lines. Choose among six controlling algorithms:
  348. **d**\ *dist*\ [**c**\|\ **i**\|\ **p**] or **D**\ *dist*\ [**d**\|\ **e**\|\ **f**\|\ **k**\|\ **m**\|\ **M**\|\ **n**\|\ **s**]
  349. For lower case **d**, give distances between symbols on the plot in
  350. your preferred measurement unit **c** (cm), **i** (inch), or **p**
  351. (points), while for upper case **D**, specify distances in map units
  352. and append the unit; choose among **e** (m), **f** (foot), **k**
  353. (km), **M** (mile), **n** (nautical mile) or **u** (US survey foot),
  354. and **d** (arc degree), **m** (arc minute), or **s** (arc second).
  355. [Default is 10\ **c** or 4\ **i**]. As an option, you can append
  356. /*fraction* which is used to place the very first symbol for each
  357. line when the cumulative along-line distance equals *fraction
  358. \* dist* [0.25].
  359. **f**\ *ffile.txt*
  360. Reads the ASCII file *ffile.txt* and places symbols at locations in the
  361. file that matches locations along the decorated lines. Inexact matches
  362. and points outside the region are skipped.
  363. **l**\|\ **L**\ *line1*\ [,\ *line2*,...]
  364. Give the coordinates of the end points for one or more comma-separated straight line segments.
  365. Symbols will be placed where these lines intersect the decorated lines.
  366. The format of each *line* specification is *start_lon*/*start_lat*/*stop_lon*/*stop_lat*.
  367. Both *start_lon*/*start_lat* and *stop_lon*/*stop_lat* can be replaced by a 2-character key
  368. that uses the justification format employed in **text** to indicate a point on the frame or
  369. center of the map, given as [LCR][BMT].
  370. **L** will interpret the point pairs as defining great circles [Default is straight line].
  371. **n**\|\ **N**\ *n_symbol*
  372. Specifies the number of equidistant symbols for decorated lines
  373. [1]. Upper case **N** starts placing symbols exactly at the start of the
  374. line [Default centers them along the line]. **N**-1 places one symbol
  375. at start, while **N**\ +1 places one symbol
  376. at the end of decorated lines. Optionally, append
  377. /*min_dist*\ [**c**\|\ **i**\|\ **p**] to enforce that a
  378. minimum distance separation between successive symbols is enforced.
  379. **s**\|\ **S**\ *n_symbol*
  380. Same as **n**\|\ **N**\ *n_symbol* but implies that the input data are
  381. first to be converted into a series of 2-point line segments before plotting.
  382. **x**\|\ **X**\ *xfile.txt*
  383. Reads the multisegment file *xfile.txt* and places symbols at the
  384. intersections between the decorated lines and the lines in *xfile.txt*.
  385. **X** will resample the lines first along great-circle arcs.
  386. The optional *symbolinfo* controls the specifics of the symbol selection and
  387. formatting and consists of a concatenated string made up of any of
  388. the following control arguments:
  389. **+a**\ *angle*
  390. For symbols at a fixed angle, **+an** for line-normal, or
  391. **+ap** for line-parallel [Default].
  392. **+d**
  393. Turns on debug which will draw helper points and lines to illustrate
  394. the workings of the decorated line setup.
  395. **+g**\ [*fill*]
  396. Sets the symbol fill [no fill].
  397. **+i**
  398. Make the main decorated line invisible [Draw it using pen settings provided by **-W**].
  399. **+n**\ *dx*\ [/*dy*]
  400. Nudges the placement of symbols by the specified amount (append
  401. **c**\|\ **i**\|\ **p** to specify the units). Increments
  402. are considered in the coordinate system defined by the
  403. orientation of the line; use **+N** to force increments in the
  404. plot x/y coordinates system [no nudging].
  405. **+p**\ [*pen*]
  406. Draws the outline of symbols [Default is no outline];
  407. optionally specify pen for outline [Default is width = 0.25p,
  408. color = black, style = solid].
  409. **+s**\ <symbol><size> or **+sk**\ *customsymbol*/*size*
  410. Specifies the code and size of the decorative symbol.
  411. Custom symbols need to be simple, i.e., not require data columns.
  412. **+w**
  413. Specifies how many (*x*,\ *y*) points will be used to estimate
  414. symbol angles [Default is 10].
  415. If neither **+g** nor **+p** are set we select the default pen outline (:term:`MAP_DEFAULT_PEN`).
  416. **Note**: By placing **-S~** options in the segment header you can change
  417. the decorated lines on a segment-by-segment basis.
Tip!

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

Comments

Loading...