#include #include int main() { using namespace matplot; std::vector x = linspace(-pi, pi, 40); std::vector z = transform(x, [](double x) { return cos(x); }); stem3(z)->marker("s").marker_color("m").marker_face_color("g"); show(); return 0; }