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_symbols2.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
502
503
504
505
506
507
508
509
510
511
512
  1. **-S**\ [*symbol*][*size*][/*size_y*]
  2. Plot symbols. If present, *size* is symbol size in the unit set in
  3. :doc:`gmt.conf` (unless **c**, **i**, or **p** is appended). If the symbol
  4. code (see below) is not given it will be read from the last column in
  5. the input data; this cannot be used in conjunction with binary input.
  6. Optionally, append **c**, **i**, or
  7. **p** to indicate that the size information in the input data is in
  8. units of cm, inch, or point, respectively [Default is
  9. :term:`PROJ_LENGTH_UNIT`]. **Note**: If you give *both* size and symbol via the
  10. input file you must use :term:`PROJ_LENGTH_UNIT` to indicate the units
  11. used for the symbol size or append the units to the size in the file.
  12. Some 2-dimensional symbols optionally take a second size via *size_y*.
  13. If symbol sizes are expected via the fourth 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* [ *w* ] [ *size* ] [ *symbol-parameters* ] [ *symbol* ]
  17. where the optional *w* 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**
  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**
  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 4, 5, and 6.
  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 4. 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**][**+i**][**+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 [30]. Append **+o**\ *offset* to offset the first symbol from the
  81. beginning of the front by that amount [0]. The chosen symbol is drawn
  82. with the same pen as set for the line (i.e., via **-W**). To use an
  83. alternate pen, append **+p**\ *pen*. To skip the outline, just use
  84. **+p**. To make the main front line invisible, add **+i**. **Note**:
  85. By placing **-Sf** options in the segment header you can change the front
  86. types on a segment-by-segment basis.
  87. **-Sg**
  88. octa\ **g**\ on. *size* is diameter of circumscribing circle.
  89. **-Sh**
  90. **h**\ exagon. *size* is diameter of circumscribing circle.
  91. **-Si**
  92. **i**\ nverted triangle. *size* is diameter of circumscribing circle.
  93. **-Sj**
  94. Rotated rectangle. Direction (in degrees counter-clockwise from
  95. horizontal), x-dimension, and y-dimension must be found in columns 4, 5, and 6.
  96. **-SJ**
  97. Same as **-Sj**, except azimuth (in degrees east of north) should be
  98. given instead of direction. The azimuth will be mapped into an angle
  99. based on the chosen map projection (**-Sj** leaves the directions
  100. unchanged.) Furthermore, the dimensions must be given in geographical instead of
  101. plot-distance units.
  102. For a degenerate rectangle (square) with one dimension given, use **-SJ-**.
  103. The dimension is excepted to be given in column 4. Alternatively, append
  104. the dimension diameter to **-SJ-** and this fixed dimension is used instead.
  105. An exception occurs for a linear projection in
  106. which we assume the dimensions are given in the same units as **-R**.
  107. For allowable geographical units, see `Units`_ [Default is k for km].
  108. **-Sk**
  109. **k**\ ustom symbol. Append <name>/*size*, and we will look for a
  110. definition file called <name>.def in (1) the current
  111. directory or (2) in ~/.gmt or (3) in
  112. **$GMT\_SHAREDIR**/custom. The symbol as defined in that file is of size
  113. 1.0 by default; the appended *size* will scale symbol accordingly.
  114. The symbols are plotted in the *x-y* plane. Users
  115. may add their own custom \*.def files; see CUSTOM SYMBOLS below.
  116. **-Sl**
  117. **l**\ etter or text string (less than 64 characters). Give size, and
  118. append /*string* after the size. Note that 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 %\ *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 4-6. See `Vector Attributes`_ for specifying 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. **-So**
  136. c\ **o**\ lumn (3-D) extending from *base* to *z*. The *size* sets base width
  137. (Use *xsize/ysize* if not the same). Append **u** if *size* is in the users' x-units
  138. [Default is plot-distance units]. If no *size* is given we expect both *xsize*
  139. and *ysize* as two extra data columns. By default, *base* = 0. Append
  140. **+b**\ *base* to change this value. If *base* is not appended then we read it
  141. from the last input data column. Use **+B**\ [*base*] if the column height
  142. is measured relative to *base* [Relative to origin].
  143. The facet colors will be modified to
  144. simulate shading. Use **-SO** to disable such 3-D illumination.
  145. Normally a single *z* value is considered. For multi-band columns, append
  146. **+z**\ *nbands* (and provide *nbands* *z*-values on input; these must be monotonically
  147. increasing up the column) or **-Z**\ *nbands* (and expect *nbands* of *dz* increments
  148. that must be summed to yield actual *z* values). The multi-band column symbol
  149. requires **-C** and will use the band number (0, 1, *nbands*\ -1) to assign
  150. the band color.
  151. **-Sp**
  152. **p**\ oint. No size needs to be specified (1 pixel is used).
  153. **-Sq**
  154. **q**\ uoted line, i.e., lines with annotations such as contours.
  155. It is assumed that each individual line has a constant *z* level
  156. (i.e., each line must lie in the *x-y* plane). Append
  157. [**d**\|\ **D**\|\ **f**\|\ **l**\|\ **L**\|\ **n**\|\ **x**\|\ **X**]\ *info*\ [:*labelinfo*].
  158. Note the colon that separates the algorithm settings from the label information.
  159. The required argument controls the placement of labels along the quoted
  160. lines. Choose among five controlling algorithms:
  161. **d**\ *dist*\ [**c**\|\ **i**\|\ **p**] or **D**\ *dist*\ [**d**\|\ **e**\|\ **f**\|\ **k**\|\ **m**\|\ **M**\|\ **n**\|\ **s**]
  162. For lower case **d**, give distances between labels on the plot in
  163. your preferred measurement unit **c** (cm), **i** (inch), or **p**
  164. (points), while for upper case **D**, specify distances in map units
  165. and append the unit; choose among **e** (m), **f** (foot), **k**
  166. (km), **M** (mile), **n** (nautical mile) or **u** (US survey foot),
  167. and **d** (arc degree), **m** (arc minute), or **s** (arc second).
  168. [Default is 10\ **c** or 4\ **i**]. As an option, you can append
  169. /*fraction* which is used to place the very first label for each
  170. contour when the cumulative along-contour distance equals *fraction
  171. \* dist* [0.25].
  172. **f**\ *ffile.d*
  173. Reads the ASCII file *ffile.d* and places labels at locations in the
  174. file that matches locations along the quoted lines. Inexact matches
  175. and points outside the region are skipped.
  176. **l**\|\ **L**\ *line1*\ [,\ *line2*,...]
  177. Give *start* and *stop* coordinates for one or more comma-separated
  178. straight line segments. Labels will be placed where these lines
  179. intersect the quoted lines. The format of each *line* specification
  180. is *start/stop*, where *start* and *stop* are either a specified
  181. point *lon/lat* or a 2-character **XY** key that uses the
  182. justification format employed in **text** to indicate a point on
  183. the map, given as [LCR][BMT]. **L** will interpret the point pairs
  184. as defining great circles [Default is straight line].
  185. **n**\ *n\_label*
  186. Specifies the number of equidistant labels for quoted lines line
  187. [1]. Upper case **N** starts labeling exactly at the start of the
  188. line [Default centers them along the line]. **N**-1 places one
  189. justified label at start, while **N**\ +1 places one justified label
  190. at the end of quoted lines. Optionally, append
  191. /*min\_dist*\ [**c**\|\ **i**\|\ **p**] to enforce that a
  192. minimum distance separation between successive labels is enforced.
  193. **x\|X**\ *xfile.d*
  194. Reads the multisegment file *xfile.d* and places labels at the
  195. intersections between the quoted lines and the lines in *xfile.d*.
  196. **X** will resample the lines first along great-circle arcs.
  197. In addition, you may optionally append
  198. **+r**\ *radius*\ [**c**\|\ **i**\|\ **p**] to set a minimum
  199. label separation in the x-y plane [no limitation].
  200. The optional *labelinfo* controls the specifics of the label
  201. formatting and consists of a concatenated string made up of any of
  202. the following control arguments:
  203. **+a**\ *angle*
  204. For annotations at a fixed angle, **+an** for line-normal, or
  205. **+ap** for line-parallel [Default].
  206. **+c**\ *dx*\ [/*dy*]
  207. Sets the clearance between label and optional text box. Append
  208. **c**\|\ **i**\|\ **p** to specify the unit or % to indicate a
  209. percentage of the label font size [15%].
  210. **+d**
  211. Turns on debug which will draw helper points and lines to illustrate
  212. the workings of the quoted line setup.
  213. **+e**
  214. Delay the plotting of the text. This is used to build a clip path
  215. based on the text, then lay down other overlays while that clip path
  216. is in effect, then turning of clipping with clip **-Cs** which
  217. finally plots the original text.
  218. **+f**\ *font*
  219. Sets the desired font [Default :term:`FONT_ANNOT_PRIMARY` with its
  220. size changed to 9p].
  221. **+g**\ [*color*]
  222. Selects opaque text boxes [Default is transparent]; optionally
  223. specify the color [Default is :term:`PS_PAGE_COLOR`].
  224. **+i**
  225. Make the main quoted line invisible [Draw it per **-W**].
  226. **+j**\ *just*
  227. Sets label justification [Default is MC]. Ignored when
  228. **-SqN**\|\ **n**\ +\|-1 is used.
  229. **+l**\ *label*
  230. Sets the constant label text.
  231. **+L**\ *flag*
  232. Sets the label text according to the specified flag:
  233. **+Lh**
  234. Take the label from the current segment header (first scan for
  235. an embedded **-L**\ *label* option, if not use the first word
  236. following the segment flag). For multiple-word labels, enclose
  237. entire label in double quotes.
  238. **+Ld**
  239. Take the Cartesian plot distances along the line as the label;
  240. append **c**\|\ **i**\|\ **p** as the unit [Default is
  241. :term:`PROJ_LENGTH_UNIT`].
  242. **+LD**
  243. Calculate actual map distances; append
  244. **d\|e\|f\|k\|n\|M\|n\|s** as the unit [Default is
  245. **d**\ (egrees), unless label placement was based on map
  246. distances along the lines in which case we use the same unit
  247. specified for that algorithm]. Requires a map projection to be
  248. used.
  249. **+Lf**
  250. Use text after the 2nd column in the fixed label location file
  251. as the label. Requires the fixed label location setting.
  252. **+Lx**
  253. As **+Lh** but use the headers in the *xfile.d* instead.
  254. Requires the crossing file option.
  255. **+n**\ *dx*\ [/*dy*]
  256. Nudges the placement of labels by the specified amount (append
  257. **c**\|\ **i**\|\ **p** to specify the units). Increments
  258. are considered in the coordinate system defined by the
  259. orientation of the line; use **+N** to force increments in the
  260. plot x/y coordinates system [no nudging]. Not allowed with **+v**.
  261. **+o**
  262. Selects rounded rectangular text box [Default is rectangular].
  263. Not applicable for curved text (**+v**) and only makes sense for
  264. opaque text boxes.
  265. **+p**\ [*pen*]
  266. Draws the outline of text boxes [Default is no outline];
  267. optionally specify pen for outline [Default is width = 0.25p,
  268. color = black, style = solid].
  269. **+r**\ *min\_rad*
  270. Will not place labels where the line's radius of curvature is
  271. less than *min\_rad* [Default is 0].
  272. **+t**\ [*file*]
  273. Saves line label x, y, and text to *file* [Line\_labels.txt].
  274. Use **+T** to save x, y, angle, text instead.
  275. **+u**\ *unit*
  276. Appends *unit* to all line labels. If *unit* starts with a
  277. leading hyphen (-) then there will be no space between label
  278. value and the unit. [Default is no unit].
  279. **+v**
  280. Specifies curved labels following the path [Default is straight labels].
  281. **+w**
  282. Specifies how many (*x*,\ *y*) points will be used to estimate
  283. label angles [Default is 10].
  284. **+=**\ *prefix*
  285. Prepends *prefix* to all line labels. If *prefix* starts with a
  286. leading hyphen (-) then there will be no space between label
  287. value and the prefix. [Default is no prefix].
  288. **Note**: By placing **-Sq** options in the segment header you can change
  289. the quoted text attributes on a segment-by-segment basis.
  290. **-Sr**
  291. **r**\ ectangle. No size needs to be specified, but the x- and
  292. y-dimensions must be found in columns 4 and 5.
  293. **-SR**
  294. **R**\ ounded rectangle. No size needs to be specified, but the x-
  295. and y-dimensions and corner radius must be found in columns 4, 5, and 6.
  296. **-Ss**
  297. **s**\ quare. *size* is diameter of circumscribing circle.
  298. **-St**
  299. **t**\ riangle. *size* is diameter of circumscribing circle.
  300. **-Su**
  301. c\ **u**\ be (3-D). The *size)* sets length of all sides. Append
  302. **u** if *size* is in x-units [Default is plot-distance units].
  303. The facet colors will be modified to simulate shading.
  304. Use **-SU** to disable such 3-D illumination.
  305. **-Sv**
  306. **v**\ ector. Direction (in degrees counter-clockwise from
  307. horizontal) and length must be found in columns 4 and 5, and *size*,
  308. if not specified on the command-line, should be present in column 3,
  309. pushing the other items to later columns.
  310. The *size* is the length of the vector head. Vector width is set by **-W**,
  311. with head outline pen width defaulting to half of stem pen width.
  312. See `Vector Attributes`_ for specifying attributes. But also be aware
  313. that using color via a CPT implies a shift of columns 4 and on to accommodate
  314. the color fill determined by the z-value in new 4rd column (See **-C** option).
  315. **-SV**
  316. Same as **-Sv**, except azimuth (in degrees east of north) should be
  317. given instead of direction. The azimuth will be mapped into an angle
  318. based on the chosen map projection (**-Sv** leaves the directions
  319. unchanged.) See `Vector Attributes`_ for specifying attributes.
  320. **-Sw**
  321. pie **w**\ edge. Start and stop directions (in degrees
  322. counter-clockwise from horizontal) for pie slice must be found in
  323. columns 4 and 5. Append /*inner* to select a separate inner diameter [0].
  324. Append **+a**\ [*dr*] to draw the arc line (at inner and outer diameter);
  325. if *dr* is appended then we draw all arc lines separated radially by *dr*.
  326. Append **+r**\ [*da*] to draw radial lines (at start and stop directions)
  327. if *da* is appended then we draw all radial lines separated angularly by *da*.
  328. These spider-web lines are drawn using the current pen unless **+p**\ *pen* is added.
  329. **-SW**
  330. Same as **-Sw**, except azimuths (in degrees east of north) should
  331. be given instead of the two directions. The azimuths will be mapped
  332. into angles based on the chosen map projection (**-Sw** leaves the
  333. directions unchanged). Specify *size* as a geographical diameter.
  334. For allowable geographical units, see `Units`_ [Default is k for km]. To instead
  335. specify a diameter in plot units, you must append the desired unit.
  336. Append /*inner* to select a separate inner diameter [0].
  337. Append **+a**\ [*dr*] to draw the arc line (at inner and outer diameter);
  338. if *dr* is appended then we draw all arc lines separated radially by *dr*.
  339. Append **+r**\ [*da*] to draw radial lines (at start and stop directions)
  340. if *da* is appended then we draw all radial lines separated angularly by *da*.
  341. These spider-web lines are drawn using the current pen unless **+p**\ *pen* is added.
  342. **-Sx**
  343. cross (x). *size* is diameter of circumscribing circle.
  344. **-Sy**
  345. y-dash (\|). *size* is the length of a short horizontal (y-dir) line segment.
  346. **-S=**
  347. geovector. Azimuth (in degrees east from north) and length (in km)
  348. must be found in columns 4 and 5. The *size* is the length of the
  349. vector head. Vector width is set by **-W**. See `Vector Attributes`_
  350. for specifying attributes. **Note**: Geovector stems are drawn as thin
  351. filled polygons and hence pen attributes like dashed and dotted are
  352. not available. For allowable geographical units, see `Units`_.
  353. **-S~**
  354. decorated line, i.e., lines with symbols along them. Append
  355. [**d**\|\ **D**\|\ **f**\|\ **l**\|\ **L**\|\ **n**\|\ **N**\|\ **s**\|\ **S**\|\ **x**\|\ **X**]\ *info*\ [:*symbolinfo*].
  356. Note the colon that separates the algorithm settings from the symbol information.
  357. The required argument controls the placement of symbols along the decorated
  358. lines. Choose among six controlling algorithms:
  359. **d**\ *dist*\ [**c**\|\ **i**\|\ **p**] or **D**\ *dist*\ [**d**\|\ **e**\|\ **f**\|\ **k**\|\ **m**\|\ **M**\|\ **n**\|\ **s**]
  360. For lower case **d**, give distances between symbols on the plot in
  361. your preferred measurement unit **c** (cm), **i** (inch), or **p**
  362. (points), while for upper case **D**, specify distances in map units
  363. and append the unit; choose among **e** (m), **f** (foot), **k**
  364. (km), **M** (mile), **n** (nautical mile) or **u** (US survey foot),
  365. and **d** (arc degree), **m** (arc minute), or **s** (arc second).
  366. [Default is 10\ **c** or 4\ **i**]. As an option, you can append
  367. /*fraction* which is used to place the very first symbol for each
  368. line when the cumulative along-line distance equals *fraction
  369. \* dist* [0.25].
  370. **f**\ *ffile.d*
  371. Reads the ASCII file *ffile.d* and places symbols at locations in the
  372. file that matches locations along the decorated lines. Inexact matches
  373. and points outside the region are skipped.
  374. **l**\|\ **L**\ *line1*\ [,\ *line2*,...]
  375. Give the coordinates of the end points for one or more comma-separated straight line segments.
  376. Symbols will be placed where these lines intersect the decorated lines.
  377. The format of each *line* specification is *start_lon*/*start_lat*/*stop_lon*/*stop_lat*.
  378. Both *start_lon*/*start_lat* and *stop_lon*/*stop_lat* can be replaced by a 2-character key
  379. that uses the justification format employed in **text** to indicate a point on the frame or
  380. center of the map, given as [LCR][BMT].
  381. **L** will interpret the point pairs as defining great circles [Default is straight line].
  382. **n**\|\ **N**\ *n_symbol*
  383. Specifies the number of equidistant symbols for decorated lines
  384. [1]. Upper case **N** starts placing symbols exactly at the start of the
  385. line [Default centers them along the line]. **N**-1 places one symbol
  386. at start, while **N**\ +1 places one symbol
  387. at the end of decorated lines. Optionally, append
  388. /*min_dist*\ [**c**\|\ **i**\|\ **p**] to enforce that a
  389. minimum distance separation between successive symbols is enforced.
  390. **s**\|\ **S**\ *n_symbol*
  391. Same as **n**\|\ **N**\ *n_symbol* but implies that the input data are
  392. first to be converted into a series of 2-point line segments before plotting.
  393. **x**\|\ **X**\ *xfile.d*
  394. Reads the multisegment file *xfile.d* and places symbols at the
  395. intersections between the decorated lines and the lines in *xfile.d*.
  396. **X** will resample the lines first along great-circle arcs.
  397. The optional *symbolinfo* controls the specifics of the symbol selection and
  398. formatting and consists of a concatenated string made up of any of
  399. the following control arguments:
  400. **+a**\ *angle*
  401. For symbols at a fixed angle, **+an** for line-normal, or
  402. **+ap** for line-parallel [Default].
  403. **+d**
  404. Turns on debug which will draw helper points and lines to illustrate
  405. the workings of the decorated line setup.
  406. **+g**\ [*fill*]
  407. Sets the symbol fill [no fill].
  408. **+i**
  409. Make the main decorated line invisible [Draw it using pen settings provided by **-W**].
  410. **+n**\ *dx*\ [/*dy*]
  411. Nudges the placement of symbols by the specified amount (append
  412. **c**\|\ **i**\|\ **p** to specify the units). Increments
  413. are considered in the coordinate system defined by the
  414. orientation of the line; use **+N** to force increments in the
  415. plot x/y coordinates system [no nudging].
  416. **+p**\ [*pen*]
  417. Draws the outline of symbols [Default is no outline];
  418. optionally specify pen for outline [Default is width = 0.25p,
  419. color = black, style = solid].
  420. **+s**\ <symbol><size> or **+sk**\ *customsymbol*/*size*
  421. Specifies the code and size of the decorative symbol.
  422. Custom symbols need to be simple, i.e., not require data columns.
  423. **+w**
  424. Specifies how many (*x*,\ *y*) points will be used to estimate
  425. symbol angles [Default is 10].
  426. If neither **+g** nor **+p** are set we select the default pen outline (:term:`MAP_DEFAULT_PEN`).
  427. **Note**: By placing **-S~** options in the segment header you can change
  428. 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...