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

Function main

examples/data_distribution/boxplot/boxplot_3.cpp:5–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3#include <random>
4
5int main() {
6 using namespace matplot;
7
8 std::vector<std::vector<double>> x(25);
9 for (auto &xi : x) {
10 xi = randn(100, 0, 1);
11 }
12
13 subplot(2, 1, 0);
14 boxplot(x);
15
16 subplot(2, 1, 1);
17 boxplot(x)->box_style(box_chart::box_style_option::outline);
18
19 show();
20 return 0;
21}

Callers

nothing calls this directly

Calls 5

randnFunction · 0.85
subplotFunction · 0.85
showFunction · 0.85
box_styleMethod · 0.80
boxplotFunction · 0.50

Tested by

no test coverage detected