1 // Copyright 2015-2018 Hans Dembinski
3 // Distributed under the Boost Software License, Version 1.0.
4 // (See accompanying file LICENSE_1_0.txt
5 // or copy at http://www.boost.org/LICENSE_1_0.txt)
7 //[ guide_axis_with_labels
9 #include <boost/histogram.hpp>
12 using namespace boost::histogram;
14 // create a 2d-histogram with an "age" and an "income" axis
15 auto h = make_histogram(axis::regular<>(20, 0.0, 100.0, "age in years"),
16 axis::regular<>(20, 0.0, 100.0, "yearly income in Thousands"));
18 // do something with h