Lines Matching refs:outfile
215 FILE *outfile;
221 outfile = fopen(filename, "w");
223 if(0 == outfile) {
228 fprintf(outfile, "plot '-' title 'PDF', '-' title 'mean' with impulses, '-' title '1-stddev' with histeps, '-' title '2-stddev' with histeps, '-' title '3-stddev' with histeps, '-' title '4-stddev' with histeps, '-' title '5-stddev' with histeps, '-' title '6-stddev' with histeps\n");
231 fprintf(outfile, "%d %u\n", stats->buckets[i].residual, stats->buckets[i].count);
233 fprintf(outfile, "e\n");
235 fprintf(outfile, "%f %f\ne\n", stats->mean, p);
236 fprintf(outfile, "%f %f\n%f %f\ne\n", m-s1, p*0.8, m+s1, p*0.8);
237 fprintf(outfile, "%f %f\n%f %f\ne\n", m-s2, p*0.7, m+s2, p*0.7);
238 fprintf(outfile, "%f %f\n%f %f\ne\n", m-s3, p*0.6, m+s3, p*0.6);
239 fprintf(outfile, "%f %f\n%f %f\ne\n", m-s4, p*0.5, m+s4, p*0.5);
240 fprintf(outfile, "%f %f\n%f %f\ne\n", m-s5, p*0.4, m+s5, p*0.4);
241 fprintf(outfile, "%f %f\n%f %f\ne\n", m-s6, p*0.3, m+s6, p*0.3);
243 fprintf(outfile, "pause -1 'waiting...'\n");
245 fclose(outfile);