MCPcopy Create free account
hub / github.com/boostorg/histogram / main

Function main

examples/guide_axis_with_labels.cpp:7–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5namespace bh = boost::histogram;
6
7int main() {
8 // create a 2d-histogram with an "age" and an "income" axis
9 auto h = bh::make_static_histogram(
10 bh::axis::regular<>(20, 0, 100, "age in years"),
11 bh::axis::regular<>(20, 0, 100, "yearly income in $1000"));
12
13 // do something with h
14}
15
16//]

Callers

nothing calls this directly

Calls 1

make_static_histogramFunction · 0.85

Tested by

no test coverage detected