blob: 86423adf69ab5a3e1843269fa616b6ea0f86fc86 [file] [log] [blame]
Austin Schuhab802d52020-07-03 18:11:11 -07001#define _USE_MATH_DEFINES
2
3#include <iostream>
4#include <string>
5#include "../matplotlibcpp.h"
6namespace plt = matplotlibcpp;
7
8int main(int argc, char **argv) {
9 std::vector<int> test_data;
10 for (int i = 0; i < 20; i++) {
11 test_data.push_back(i);
12 }
13
14 plt::bar(test_data);
15 plt::show();
16
17 return (0);
18}