2020-10-11から1日間の記事一覧

【gnuplot/C++】C++でgnuplotによるグラフを描く方法

☆コンテンツ下記のgnuplotによるコマンドをC++(VisualStudio)にて実行する。 set xrange [-10:10] set yrange [-1:1] plot sin(x)★C++コード #include <stdio.h> #include <stdlib.h> #define GNUPLOT_PATH "C:/PROGRA~1/gnuplot/bin/gnuplot.exe" // gnuplot.exeのある場所を</stdlib.h></stdio.h>…