2005-01-02から1日間の記事一覧
double* lst; //サンプル FILE* gp; gp = _popen("pgnuplot.exe", "w"); fprintf(gp,"plot '-' with line\n"); for (int i = 0; i fprintf(gp,"%lf %lf\n",(double)i, lst[i]); fprintf(gp,"e\n"); fflush(gp); fclose(gp);
double* lst; //サンプル FILE* gp; gp = _popen("pgnuplot.exe", "w"); fprintf(gp,"plot '-' with line\n"); for (int i = 0; i fprintf(gp,"%lf %lf\n",(double)i, lst[i]); fprintf(gp,"e\n"); fflush(gp); fclose(gp);