Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 3.13 KB

File metadata and controls

31 lines (19 loc) · 3.13 KB
layout title nav_order has_children parent grand_parent has_toc
default
Histogram
1
false
Data Distribution
Examples
false

Histogram

hist(data);

See result

example_histogram_1

More examples:

example_histogram_2 example_histogram_3 example_histogram_4 example_histogram_5 example_histogram_6 example_histogram_7 example_histogram_8 example_histogram_9 example_histogram_10 example_histogram_11 example_histogram_12 example_histogram_14

The histogram object creates the histogram edges and bins when the draw function is called for the first time with lazy evaluation. Lazy evaluation avoids calculating edges unnecessarily in case the user changes the object parameters before calling draw. This object includes several algorithms for automatically delimiting the edges and bins for the histograms.