#include #include int main() { using namespace matplot; std::vector x = linspace(0, 10, 20); std::vector y = transform(x, [](auto x) { return exp(0.25 * x); }); stem(x, y, "filled"); show(); return 0; }