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_contlabel.rst_ 2.8 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
  1. The required argument controls the placement of labels along the quoted
  2. lines. Choose among five controlling algorithms:
  3. **d**\ *dist*\ [**c**\|\ **i**\|\ **p**] or **D**\ *dist*\ [**d**\|\ **e**\|\ **f**\|\ **k**\|\ **m**\|\ **M**\|\ **n**\|\ **s**]
  4. For lower case **d**, give distances between labels on the plot
  5. in your preferred measurement unit **c** (cm), **i** (inch), or
  6. **p** (points), while for upper case **D**, specify distances in
  7. map units and append the unit; choose among **e** (m), **f**
  8. (foot), **k** (km), **M** (mile), **n** (nautical mile) or **u**
  9. (US survey foot), and **d** (arc degree), **m** (arc minute), or
  10. **s** (arc second). [Default is 10\ **c** or 4\ **i**]. As an
  11. option, you can append /*fraction* which is used to place the
  12. very first label for each contour when the cumulative
  13. along-contour distance equals *fraction \* dist* [0.25].
  14. **f**\ *ffile.d*
  15. Reads the ASCII file *ffile.d* and places labels at locations in
  16. the file that matches locations along the quoted lines. Inexact
  17. matches and points outside the region are skipped.
  18. **l\|L**\ *line1*\ [,\ *line2*,...]
  19. Give *start* and *stop* coordinates for one or more
  20. comma-separated straight line segments. Labels will be placed
  21. where these lines intersect the quoted lines. The format of each
  22. *line* specification is *start/stop*, where *start* and *stop*
  23. are either a specified point *lon/lat* or a 2-character **XY**
  24. key that uses the justification format employed in :doc:`text` to
  25. indicate a point on the map, given as [LCR][BMT].
  26. In addition, you can use Z-, Z+ to mean the global minimum and
  27. maximum locations in the grid. **L** will interpret the point pairs
  28. as defining great circles [Default is straight line].
  29. **n**\ *n\_label*
  30. Specifies the number of equidistant labels for quoted lines line
  31. [1]. Upper case **N** starts labeling exactly at the start of
  32. the line [Default centers them along the line]. **N**-1 places
  33. one justified label at start, while **N**\ +1 places one
  34. justified label at the end of quoted lines. Optionally, append
  35. /*min\_dist*\ [**c**\|\ **i**\|\ **p**] to enforce that a
  36. minimum distance separation between successive labels is
  37. enforced.
  38. **x\|X**\ *xfile.d*
  39. Reads the multisegment file *xfile.d* and places labels at the
  40. intersections between the quoted lines and the lines in
  41. *xfile.d*. **X** will resample the lines first along
  42. great-circle arcs.
  43. In addition, you may optionally append
  44. **+r**\ *radius*\ [**c**\|\ **i**\|\ **p**] to set a minimum
  45. label separation in the x-y plane [no limitation].
Tip!

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

Comments

Loading...