#include #include #include int main() { using namespace matplot; std::vector x = randn(10000, 0, 1); auto h = hist(x); std::cout << "Histogram with " << h->num_bins() << " bins" << std::endl; show(); return 0; }