install gnuplot sudo apt-get update sudo apt-get install gnuplot https://stackoverflow.com/questions/45696064/how-do-i-use-gnuplot-from-c gnuplot example mkdir build cd build cmake .. make ./gnuplot_example Windows version git checkout windows_version