matplotlib-cpp ============== Welcome to matplotlib-cpp, possibly the simplest C++ plotting library. It is built to resemble the plotting API used by Matlab and matplotlib. Usage ----- Complete minimal example: ```cpp #include "matplotlibcpp.h" namespace plt = matplotlibcpp; int main() { plt::plot({1,2,3,4}); plt::show(); } ``` g++ minimal.cpp -std=c++11 -I/usr/include/python2.7 -lpython2.7 **Result:** ![Minimal example](./examples/minimal.png) A more comprehensive example: ```cpp #include "matplotlibcpp.h" #include namespace plt = matplotlibcpp; int main() { // Prepare data. int n = 5000; std::vector x(n), y(n), z(n), w(n,2); for(int i=0; i #include "matplotlibcpp.h" using namespace std; namespace plt = matplotlibcpp; int main() { // Prepare data. int n = 5000; // number of data points vector x(n),y(n); for(int i=0; i