Passing parameters to gnuplot to set xscale to number of days

(To get live plotting fully working we now need to flush the stream into the plot data files, which is coming up in the next commit)