Changeset 107
- Timestamp:
- 09/22/09 11:52:24 (15 years ago)
- Location:
- tools/PlotTempsViaGnuplot
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/PlotTempsViaGnuplot/main.c
r106 r107 26 26 27 27 time ( &rawtime ); 28 timeinfo = localtime ( &rawtime );29 28 30 29 startTime = (long)rawtime; … … 32 31 33 32 startTime -= atoi(argv[2]); 33 rawtime -= atoi(argv[2]); 34 34 35 35 plotfile = fopen ("plot_t.plt","w"); 36 36 37 timeinfo = localtime ( &rawtime ); 38 fprintf (plotfile, "set title 'Temps since %s\n", asctime (timeinfo) ); 37 39 38 40 if (plotfile!=NULL) 39 41 { 40 fputs ("set title 'Temperatures'\n" 41 "set xlabel 'time sec '\n" 42 fputs ( "set xlabel 'time sec '\n" 42 43 "set ylabel 'T in C '\n" 43 44 "set grid\n"
Note:
See TracChangeset
for help on using the changeset viewer.