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

Function main

examples/annotations/text/text_8.cpp:4–15  ·  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
7 auto y = transform(iota(1, 10), [](double x) { return pow(x, 2); });
8 plot(y);
9
10 text(3, 90, "λ_{12}^{3/2}/π - πΔ^{2/3}");
11 text(4, 60, "lambda12^{3/2}/pi - pi delta^{2/3}");
12
13 show();
14 return 0;
15}

Callers

nothing calls this directly

Calls 5

transformFunction · 0.85
iotaFunction · 0.85
showFunction · 0.85
plotFunction · 0.50
textFunction · 0.50

Tested by

no test coverage detected