MCPcopy Create free account
hub / github.com/alandefreitas/matplotplusplus / main

Function main

examples/vector_fields/feather/feather_1.cpp:4–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2#include <matplot/matplot.h>
3
4int main() {
5 using namespace matplot;
6 std::vector<double> theta = iota(-pi / 2, pi / 16, pi / 2);
7 std::vector<double> rho(theta.size(), 2.);
8 auto [u, v] = pol2cart(theta, rho);
9 feather(u, v);
10
11 show();
12 return 0;
13}

Callers

nothing calls this directly

Calls 5

iotaFunction · 0.85
pol2cartFunction · 0.85
showFunction · 0.85
featherFunction · 0.50
sizeMethod · 0.45

Tested by

no test coverage detected