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

Function main

examples/appearance/grid/xtickangle/xtickangle_3.cpp:3–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1#include <matplot/matplot.h>
2
3int main() {
4 using namespace matplot;
5
6 auto x = linspace(0, 10000, 21);
7 auto y = transform(x, [](double x) { return pow(x, 2); });
8 stem(x, y);
9
10 std::cout << "xtickangle(): " << xtickangle() << std::endl;
11
12 show();
13 return 0;
14}

Callers

nothing calls this directly

Calls 5

linspaceFunction · 0.85
transformFunction · 0.85
xtickangleFunction · 0.85
showFunction · 0.85
stemFunction · 0.50

Tested by

no test coverage detected