#include #include int main() { using namespace matplot; std::vector x = linspace(0, 2 * pi, 50); std::vector y = transform(x, [](auto x) { return exp(x) * sin(x); }); stem(x, y, ":dr"); show(); return 0; }