#include #include int main() { using namespace matplot; std::vector theta = linspace(0, 2 * pi); std::vector x = transform(theta, [](double t) { return cos(t); }); std::vector y = transform(theta, [](double t) { return sin(t); }); std::vector z = theta; stem3(x, y, z, ":*m"); show(); return 0; }