C++から計算結果の確認用に
system("wgnuplot -noend -e \" p 'data.txt' u 1:3 w l; \");
みたいにして使ったりする.
実際にはコマンド部分の文字列は他の部分で作るけど.