histogram
Creates a histogram.
Syntax
-
histogram(data)
-
data
is a collection of numbers
-
Description
If data
is a sequence or list of real numbers then histogram(data)
creates a histogram for this data.
The chart is shown in the current diagram and a reference to the chart is returned.
Examples
H ≔ histogram(compute(mean(compute(RandomReal(), n, 1, 10)), n, 1, 1000000)); AdjustVisual(H, "bin width": 0.01)
AdjustVisual(H, "bin width": 0.001)