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: #include"matplotlibcpp.h"namespaceplt = matplotlibcpp;intmain(){ plt::plot({1,3,2,4}); plt::show(); } ...
matplotlib-cpp。基于C++调用Python的方法将matplotlib封装了一层。但比用OpenCV的imshow写的图表绘制好。 matplotlib-cpp项目地址在:https://github.com/lava/matplotlib-cpp,仓库内容简单,核心的东西就是一个头文件matplotlibcpp.h, 这个头文件封装了大量了的C++调用mat