#include #include int main() { using namespace matplot; std::vector theta = linspace(0, 2 * pi); std::vector rho = transform(theta, [](double t) { return sin(t); }); polarplot(theta, rho); gca()->r_axis().limits({-1, 1}); show(); return 0; }