#include #include #include int main() { using namespace matplot; std::vector> Y = { {2, 2, 2, 2}, {2, 5, 8, 11}, {3, 6, 9, 12}}; barstacked(Y); show(); return 0; }