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

Function main

examples/line_plot/plot/plot_12.cpp:4–12  ·  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 std::vector<int> y = {2, 4, 7, 7, 6, 3, 9, 7, 3, 5};
8 plot(y);
9
10 show();
11 return 0;
12}

Callers

nothing calls this directly

Calls 2

showFunction · 0.85
plotFunction · 0.50

Tested by

no test coverage detected