#include #include int main() { using namespace matplot; std::vector theta_degrees = linspace(0, 360, 50); std::vector rho = transform(theta_degrees, [](auto t) { return 0.005 * t / 10.; }); std::vector theta_radians = deg2rad(theta_degrees); polarplot(theta_radians, rho); show(); return 0; }