#include #include int main() { using namespace matplot; std::vector x = iota(0, 10, 100); std::vector y = {20, 30, 45, 40, 60, 65, 80, 75, 95, 90}; std::vector err(y.size(), 10.); errorbar(x, y, err)->filled_curve(true); axis({0, 100, 0, 110}); show(); return 0; }