[−][src]Module plotlib::histogram
A module for Histograms
Examples
// Create some dummy data let data = vec![0.3, 0.5, 6.4, 5.3, 3.6, 3.6, 3.5, 7.5, 4.0]; // and create a histogram out of it let h = Histogram::from_slice(&data, plotlib::histogram::Bins::Count(30));
TODO:
- frequency or density option
- Variable bins implies frequency
- What should be the default?
Structs
Histogram | A one-dimensional histogram with equal binning. |
Style |
Enums
Bins |