#define _USE_MATH_DEFINES #include #include #include "../matplotlibcpp.h" using namespace std; namespace plt = matplotlibcpp; int main() { // Prepare data int ncols = 500, nrows = 300; std::vector z(ncols * nrows); for (int j=0; j