Index: tools/PlotTempsViaGnuplot/main.c
===================================================================
--- tools/PlotTempsViaGnuplot/main.c	(revision 106)
+++ tools/PlotTempsViaGnuplot/main.c	(revision 107)
@@ -26,5 +26,4 @@
 
         time ( &rawtime );
-        timeinfo = localtime ( &rawtime );
 
 	startTime = (long)rawtime;
@@ -32,12 +31,14 @@
 	
 	startTime -= atoi(argv[2]);
+	rawtime -= atoi(argv[2]);
 
 	plotfile = fopen ("plot_t.plt","w");
-  	
+  
+        timeinfo = localtime ( &rawtime );
+	fprintf (plotfile, "set title 'Temps since %s\n", asctime (timeinfo) );	
 	
 	if (plotfile!=NULL)
   	{
-		fputs ("set title 'Temperatures'\n"
-			"set xlabel 'time sec '\n"
+		fputs (	"set xlabel 'time sec '\n"
 			"set ylabel 'T in C '\n"
 			"set grid\n"
