Austin Schuh | ab802d5 | 2020-07-03 18:11:11 -0700 | [diff] [blame] | 1 | #define _USE_MATH_DEFINES |
2 | |||||
3 | #include <iostream> | ||||
4 | #include <string> | ||||
5 | #include "../matplotlibcpp.h" | ||||
6 | namespace plt = matplotlibcpp; | ||||
7 | |||||
8 | int 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 | } |