histogram/examples/guide_axis_with_uoflow_off.cpp
2019-01-11 00:06:25 +01:00

17 lines
322 B
C++

//[ guide_axis_with_uoflow_off
#include <boost/histogram.hpp>
namespace bh = boost::histogram;
int main() {
// create a 1d-histogram for dice throws with integer values from 1 to 6
auto h = bh::make_histogram(
bh::axis::integer<>(1, 7, "eyes", bh::axis::option_type::none)
);
// do something with h
}
//]