2005-01-02 ■ double* lst; //サンプル FILE* gp; gp = _popen("pgnuplot.exe", "w"); fprintf(gp,"plot '-' with line\n"); for (int i = 0; i < n; ++i) fprintf(gp,"%lf %lf\n",(double)i, lst[i]); fprintf(gp,"e\n"); fflush(gp); fclose(gp);