- Timestamp:
- 09/22/09 11:41:09 (15 years ago)
- Location:
- tools/PlotTempsViaGnuplot
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/PlotTempsViaGnuplot/main.c
r103 r106 44 44 ,plotfile); 45 45 46 sprintf(usingStr, "($ 6>\%d ? $6-\%d : 1/0)", startTime, startTime);46 sprintf(usingStr, "($10>\%d ? $10-\%d : 1/0)", startTime, startTime); 47 47 48 48 fputs("plot ",plotfile); 49 49 50 fprintf(plotfile, "\"%s\" using %s: 8title 'water out' with points"50 fprintf(plotfile, "\"%s\" using %s:12 title 'water out' with points" 51 51 ,tempFilename 52 52 ,usingStr … … 54 54 55 55 fputs(", \\\n", plotfile); 56 fprintf(plotfile, "\"%s\" using %s: 9title 'upper right' with points"56 fprintf(plotfile, "\"%s\" using %s:13 title 'upper right' with points" 57 57 ,tempFilename 58 58 ,usingStr 59 59 ); 60 60 fputs(", \\\n", plotfile); 61 fprintf(plotfile, "\"%s\" using %s:1 0title 'upper left' with points"61 fprintf(plotfile, "\"%s\" using %s:14 title 'upper left' with points" 62 62 ,tempFilename 63 63 ,usingStr 64 64 ); 65 65 fputs(", \\\n", plotfile); 66 fprintf(plotfile, "\"%s\" using %s:1 1title 'lower left' with points"66 fprintf(plotfile, "\"%s\" using %s:15 title 'lower left' with points" 67 67 ,tempFilename 68 68 ,usingStr 69 69 ); 70 70 fputs(", \\\n", plotfile); 71 fprintf(plotfile, "\"%s\" using %s:1 2title 'lower right' with points"71 fprintf(plotfile, "\"%s\" using %s:16 title 'lower right' with points" 72 72 ,tempFilename 73 73 ,usingStr 74 74 ); 75 75 fputs(", \\\n", plotfile); 76 fprintf(plotfile, "\"%s\" using %s:1 3title 'water in' with points"76 fprintf(plotfile, "\"%s\" using %s:17 title 'water in' with points" 77 77 ,tempFilename 78 78 ,usingStr 79 79 ); 80 80 fputs(", \\\n", plotfile); 81 fprintf(plotfile, "\"%s\" using %s:1 4title 'humidity temp' with points"81 fprintf(plotfile, "\"%s\" using %s:18 title 'humidity temp' with points" 82 82 ,tempFilename 83 83 ,usingStr
Note:
See TracChangeset
for help on using the changeset viewer.