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

Function main

examples/appearance/grid/xtickangle/xtickangle_2.cpp:3–17  ·  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 tiledlayout(2, 1);
7
8 auto ax1 = nexttile();
9 plot(ax1, rand(6, 6, 0, 1));
10
11 auto ax2 = nexttile();
12 plot(ax2, rand(6, 6, 0, 1));
13 xtickangle(ax2, 45);
14
15 show();
16 return 0;
17}

Callers

nothing calls this directly

Calls 6

tiledlayoutFunction · 0.85
nexttileFunction · 0.85
randFunction · 0.85
xtickangleFunction · 0.85
showFunction · 0.85
plotFunction · 0.50

Tested by

no test coverage detected