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

histogram_common.rst_ 4.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
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
  1. |No-spaces|
  2. Description
  3. -----------
  4. Reads *file* [or standard input] and examines the first
  5. data column (or one set by **-i**) to calculate histogram parameters based on
  6. the bin-width provided. Using these parameters, scaling, and optional
  7. range parameters it will plot the histogram. A cumulative histogram may also be specified.
  8. Required Arguments
  9. ------------------
  10. .. _-J:
  11. **-Jx**
  12. *xscale*\ [/*yscale*] (Linear scale(s) in distance unit/data unit), or
  13. **-JX** with *width*\ [/*height*] dimensions.
  14. .. _-T:
  15. **-T**\ [*min/max*\ /]\ *inc*\ [**+n**] \|\ **-T**\ *file*\|\ *list*
  16. Make evenly spaced array of bin boundaries from *min* to *max* by *inc*.
  17. If *min/max* are not given then we default to the range in **-R**.
  18. For details on array creation, see `Generate 1D Array`_.
  19. Optional Arguments
  20. ------------------
  21. .. |Add_intables| unicode:: 0x20 .. just an invisible code
  22. .. include:: explain_intables.rst_
  23. .. _-A:
  24. **-A**
  25. Plot the histogram horizontally from x = 0 [Default is vertically
  26. from y = 0]. The plot dimensions remain the same, but the two
  27. axes are flipped.
  28. .. _-B:
  29. .. include:: explain_-B.rst_
  30. .. _-C:
  31. **-C**\ *cpt*
  32. Give a CPT. The mid x-value for each bar is used to
  33. look-up the bar color. If modern mode and no argument is given
  34. then we select the current CPT.
  35. .. _-D:
  36. **-D**\ [**+b**][**+f**\ *font*][**+o**\ *off*][**+r**]
  37. Annotate each bar with the count it represents. Append any of the
  38. following modifiers: Use **+b** to place the labels beneath the bars
  39. instead of above; use **+f** to change to another font than the default
  40. annotation font; use **+o** to change the offset between bar and label [6p];
  41. use **+r** to rotate the labels from horizontal to vertical.
  42. .. _-F:
  43. **-F**
  44. Center bin on each value. [Default is left edge].
  45. .. _-G:
  46. **-G**\ *fill* :ref:`(more ...) <-Gfill_attrib>`
  47. Select filling of bars [Default is no fill].
  48. .. _-I:
  49. **-I**\ [**o**\|\ **O**]
  50. Inquire about min/max x and y after binning. The *xmin xmax ymin
  51. ymax* is output; no plotting is done. Append **o** to output an
  52. ASCII table of the resulting x,y data instead. Upper case **O** will
  53. output all x,y bin data even when y == 0.
  54. .. _-L:
  55. **-Ll**\|\ **h**\|\ **b**
  56. The modifiers specify the handling of extreme values that fall outside the range
  57. set by **-T**. By default these values are ignored. Append **b** to let
  58. these values be included in the first or last bins. To only include
  59. extreme values below first bin into the first bin, use **l**, and to
  60. only include extreme values above the last bin into that last bin, use
  61. **h**.
  62. .. _-N:
  63. **-N**\ [*mode*][**+p**\ *pen*]
  64. Draw the equivalent normal distribution; append desired pen [0.5p,black].
  65. The *mode* selects which central location and scale to use:
  66. * 0 = mean and standard deviation [Default];
  67. * 1 = median and L1 scale (1.4826 \* median absolute deviation; MAD);
  68. * 2 = LMS (least median of squares) mode and scale.
  69. The **-N** option may be repeated to draw several of these curves.
  70. .. _-Q:
  71. **-Q**\ **r**
  72. Draw a cumulative histogram. Append **r** to instead compute the
  73. reverse cumulative histogram.
  74. .. _-R:
  75. .. |Add_-R| unicode:: 0x20 .. just an invisible code
  76. .. include:: explain_-R.rst_
  77. .. |Add_-Rz| replace:: If not given, we will automatically find reasonable values for the region.
  78. .. include:: explain_-Rz.rst_
  79. .. _-S:
  80. **-S**
  81. Draws a stairs-step diagram which does not include the internal bars
  82. of the default histogram.
  83. .. _-U:
  84. .. include:: explain_-U.rst_
  85. .. _-V:
  86. .. |Add_-V| unicode:: 0x20 .. just an invisible code
  87. .. include:: explain_-V.rst_
  88. .. _-W:
  89. **-W**\ *pen*
  90. Draw bar outline (or stair-case curve) using the specified pen thickness. [Default is no outline].
  91. .. _-X:
  92. .. include:: explain_-XY.rst_
  93. .. _-Z:
  94. **-Z**\ [*type*][**+w**]
  95. Choose between 6 types of histograms:
  96. * 0 = counts [Default]
  97. * 1 = frequency_percent
  98. * 2 = log (1.0 + count)
  99. * 3 = log (1.0 + frequency_percent)
  100. * 4 = log10 (1.0 + count)
  101. * 5 = log10 (1.0 + frequency_percent).
  102. To use weights provided as a second data column instead of pure counts,
  103. append **+w**.
  104. .. |Add_-bi| replace:: [Default is 2 input columns].
  105. .. include:: explain_-bi.rst_
  106. .. |Add_-di| unicode:: 0x20 .. just an invisible code
  107. .. include:: explain_-di.rst_
  108. .. |Add_-e| unicode:: 0x20 .. just an invisible code
  109. .. include:: explain_-e.rst_
  110. .. |Add_-f| unicode:: 0x20 .. just an invisible code
  111. .. include:: explain_-f.rst_
  112. .. |Add_-h| unicode:: 0x20 .. just an invisible code
  113. .. include:: explain_-h.rst_
  114. .. include:: explain_-icols.rst_
  115. .. |Add_perspective| unicode:: 0x20 .. just an invisible code
  116. .. include:: explain_perspective.rst_
  117. .. include:: explain_-qi.rst_
  118. .. include:: explain_-t.rst_
  119. .. include:: explain_help.rst_
  120. .. include:: explain_array.rst_
Tip!

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

Comments

Loading...