Changed plot style to improve clarity

This commit makes the dots smaller and changes their style from dots to
crosses. Also, the last dot is now blue instead of black, and the line
is a gradient from 50% black to 100% black so the line progress can be
seen clearer (because the lines cross several times).

Change-Id: Ibc41a4a5c0d27eed01244a450c38945537b93e69
diff --git a/cron/includes/plotSingleGraph.gnu b/cron/includes/plotSingleGraph.gnu
index 152fd11..0ddc61b 100644
--- a/cron/includes/plotSingleGraph.gnu
+++ b/cron/includes/plotSingleGraph.gnu
@@ -1,2 +1,11 @@
-set title graphTitle."\n{/*0.4 Última dada (punt negre): ".lastUpdated."}"
-plot 6*x w filledcurve y1=0 lt rgb "#ff9494", 100/x w filledcurve y1=0 lt rgb "#ffe494", 70/x w filledcurve y1=0 lt rgb "#dbff94", 30/x w filledcurve y1=0 lt rgb "#a0ff94", graphDataFile u 2:3 w lp pt 6 lt rgb "black", "< tail -n 1 ".graphDataFile u 2:3 w lp pt 7 lt rgb "black"
+num = system("cat ".graphDataFile." | wc -l")
+
+startGray = 0;
+endGray = 0.5;
+
+set palette model RGB functions startGray + (endGray - startGray)*(1 - gray), startGray + (endGray - startGray)*(1 - gray), startGray + (endGray - startGray)*(1 - gray)
+set cbrange [0:(num - 1)]
+unset colorbox
+
+set title graphTitle."\n{/*0.4 Última dada (punt blau): ".lastUpdated."}"
+plot 6*x w filledcurve y1=0 lt rgb "#ff9494", 100/x w filledcurve y1=0 lt rgb "#ffe494", 70/x w filledcurve y1=0 lt rgb "#dbff94", 30/x w filledcurve y1=0 lt rgb "#a0ff94", graphDataFile u 2:3:4 w lp lc palette pt 2 ps 0.5, "< tail -n 1 ".graphDataFile u 2:3 w lp pt 7 ps 0.7 lt rgb "#002991"