C++
使用環境: macOS Sierra ver 10.12.6、g++ 4.2.1 前提条件: gnuplotのPATHが通っている まずは、C++からgnuplotを呼び出すプログラム FILE* gnuplot = popen("gnuplot", "w"); fprintf(gnuplot, "plot 'Position_log.dat' using 1:4 with lines\n"); fflush(…
使用環境: macOS Sierra ver 10.12.6、g++ 4.2.1 前提条件: gnuplotのPATHが通っている まずは、C++からgnuplotを呼び出すプログラム FILE* gnuplot = popen("gnuplot", "w"); fprintf(gnuplot, "plot 'Position_log.dat' using 1:4 with lines\n"); fflush(…