| 3 | #include <random> |
| 4 | |
| 5 | int 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 | } |