Skip to content

Feather

1
feather(u, v);

example_feather_1

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
#include <cmath>
#include <matplot/matplot.h>

int main() {
    using namespace matplot;
    std::vector<double> theta = iota(-pi / 2, pi / 16, pi / 2);
    std::vector<double> rho(theta.size(), 2.);
    auto [u, v] = pol2cart(theta, rho);
    feather(u, v);

    show();
    return 0;
}