更新时间:2022-05-24 01:48:35
当然,只需使用标准软件包命令安装GNOUPLOT即可:
sudo apt-get update
sudo apt-get install gnuplot
之后,您只需集成gnplot iostream标头,它是C++中的gnplot接口:
#include "gnuplot-iostream.h"
安装gnplot时不包括此头文件,但可以在here中找到。这里有一个供参考的iostream示例链接:iostream example code C++