#include #include #include int main() { using namespace matplot; std::vector x1 = concat({1}, iota(3, 10)); bar(x1, rand(9, 0, 1)); hold(on); bar(std::vector{2}, rand(1, 0, 1)); gca()->x_axis().tick_values(iota(1, 10)); show(); return 0; }