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

rose_common.rst_ 6.1 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
  1. |No-spaces|
  2. Description
  3. -----------
  4. **rose** reads (length, azimuth) pairs from *file* [or standard input]
  5. and plot a windrose diagram. Add **-i**\ 0 if your file only has azimuth values.
  6. Optionally (with **-A**), polar histograms may be drawn (sector diagram
  7. or rose diagram). Options include full circle and half circle plots. The
  8. outline of the windrose is drawn with the same color as :term:`MAP_DEFAULT_PEN`.
  9. Required Arguments
  10. ------------------
  11. None.
  12. Optional Arguments
  13. ------------------
  14. .. |Add_intables| replace:: If a file with only
  15. azimuths are given, use **-i** to indicate the single column with
  16. azimuths; then all lengths are set to unity (see **-Zu** to set
  17. actual lengths to unity as well).
  18. .. include:: explain_intables.rst_
  19. .. _-A:
  20. **-A**\ *sector_width*\ [**+r**]
  21. Gives the sector width in degrees for sector and rose diagram.
  22. [Default 0 means windrose diagram]. Append **+r** to draw rose
  23. diagram instead of sector diagram.
  24. .. _-B:
  25. .. include:: explain_-B.rst_
  26. |
  27. | Remember that "x" here is radial distance and "y" is azimuth. The ylabel may be used to plot a figure caption. The scale bar length is determined by the radial gridline spacing.
  28. .. _-C:
  29. **-C**\ *cpt*
  30. Give a CPT. The *r*-value for each sector is used to
  31. look-up the sector color. Cannot be used with a rose diagram.
  32. If modern mode and no argument is given then we select the current CPT.
  33. .. _-D:
  34. **-D**
  35. Shift sectors so that they are centered on the bin interval (e.g.,
  36. first sector is centered on 0 degrees).
  37. .. _-E:
  38. **-E**\ **m**\|\ [**+w**]\ *mode_file*
  39. Plot vectors showing the principal directions given in the *mode_file*
  40. file. Alternatively, specify **-Em** to compute and plot mean direction. See
  41. **-M** to control the vector attributes. Finally, to instead save the
  42. computed mean direction and other statistics, use [**m**]\ **+w**\ *mode_file*.
  43. The eight items saved to a single record are:
  44. *mean_az, mean_r, mean_resultant, max_r, scaled_mean_r, length_sum, n, sign@alpha*,
  45. where the last term is 0 or 1 depending on whether the mean resultant is significant
  46. at the level of confidence set via **-Q**.
  47. .. _-F:
  48. **-F**
  49. Do not draw the scale length bar [Default plots scale in lower right corner provided **-B** is used]
  50. .. _-G:
  51. **-G**\ *fill* :ref:`(more ...) <-Gfill_attrib>`
  52. Selects shade, color or pattern for filling the sectors [Default is no fill].
  53. .. _-I:
  54. **-I**
  55. Inquire. Computes statistics needed to specify a useful **-R**. No
  56. plot is generated. The following statistics are written to stdout:
  57. *n*, *mean az*, *mean r*, *mean resultant length*, *max bin sum*,
  58. *scaled mean*, and *linear length sum*.
  59. .. _-J:
  60. **-JX**\ *diameter*
  61. Sets the diameter of the rose diagram. Only this form of the projection machinery
  62. is supported for this module. If not given, then we default to a diameter of 7.5 cm.
  63. .. _-L:
  64. **-L**\ [*wlabel*\ ,\ *elabel*\ ,\ *slabel*\ ,\ *nlabel*]
  65. Specify labels for the 0, 90, 180, and 270 degree marks. For
  66. full-circle plot the default is WEST,EAST,SOUTH,NORTH and for
  67. half-circle the default is 90W,90E,-,0. A - in any entry disables
  68. that label. Use **-L** with no argument to disable all four labels.
  69. Note that the :term:`GMT_LANGUAGE` setting will affect the words used.
  70. .. _-M:
  71. **-M**\ *parameters*
  72. Used with **-E** to modify vector parameters. For vector heads,
  73. append vector head *size* [Default is 0, i.e., a line]. See VECTOR
  74. ATTRIBUTES for specifying additional attributes. If **-E** is not
  75. given and the current plot mode is to draw a windrose diagram then
  76. using **-M** will add vector heads to all individual directions
  77. using the supplied attributes.
  78. .. _-Q:
  79. **-Q**\ [*alpha*]
  80. Sets the confidence level used to determine if the mean resultant
  81. is significant (i.e., Lord Rayleigh test for uniformity) [0.05].
  82. **Note**: The critical values are approximated [Berens, 2009] and
  83. requires at least 10 points; the critical resultants are accurate
  84. to at least 3 significant digits. For smaller data sets you
  85. should consult exact statistical tables.
  86. .. _-R:
  87. **-R**\ *r0*/*r1*/*az0*/*az1*
  88. Specifies the 'region' of interest in (*r*\ ,\ *azimuth*) space. Here, *r0* is 0, *r1*
  89. is max length in units. For azimuth, specify either -90/90 or 0/180
  90. for half circle plot or 0/360 for full circle.
  91. .. _-S:
  92. **-S**
  93. Normalize input radii (or bin counts if **-A** is used) by the largest
  94. value so all radii (or bin counts) range from 0 to 1.
  95. .. _-T:
  96. **-T**
  97. Specifies that the input data are orientation data (i.e., have a 180 degree
  98. ambiguity) instead of true 0-360 degree directions [Default]. We
  99. compensate by counting each record twice: First as *azimuth* and second
  100. as *azimuth + 180*. Ignored if range is given as -90/90 or 0/180.
  101. .. _-U:
  102. .. include:: explain_-U.rst_
  103. .. _-V:
  104. .. |Add_-V| unicode:: 0x20 .. just an invisible code
  105. .. include:: explain_-V.rst_
  106. .. _-W:
  107. **-W**\ *pen*
  108. Set pen attributes for sector outline or rose plot. [Default is no
  109. outline]. Use **-Wv**\ *pen* to change pen used to draw vector
  110. (requires **-E**) [Default is same as sector outline].
  111. .. _-X:
  112. .. include:: explain_-XY.rst_
  113. .. _-Z:
  114. **-Z**\ **u**\|\ *scale*
  115. Multiply the data radii by *scale*. E.g., use **-Z**\ 0.001 to
  116. convert your data from m to km. To exclude the radii from
  117. consideration, set them all to unity with **-Zu** [Default is no
  118. scaling].
  119. **-:**
  120. Input file has (*azimuth,radius*) pairs rather than the expected
  121. (*radius,azimuth*).
  122. .. |Add_-bi| replace:: [Default is 2 input columns].
  123. .. include:: explain_-bi.rst_
  124. .. |Add_-di| unicode:: 0x20 .. just an invisible code
  125. .. include:: explain_-di.rst_
  126. .. |Add_-e| unicode:: 0x20 .. just an invisible code
  127. .. include:: explain_-e.rst_
  128. .. |Add_-h| unicode:: 0x20 .. just an invisible code
  129. .. include:: explain_-h.rst_
  130. .. include:: explain_-icols.rst_
  131. .. |Add_perspective| unicode:: 0x20 .. just an invisible code
  132. .. include:: explain_perspective.rst_
  133. .. include:: explain_-qi.rst_
  134. .. include:: explain_-t.rst_
  135. .. include:: explain_help.rst_
  136. .. include:: explain_vectors.rst_
Tip!

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

Comments

Loading...