# set terminal canvas  solid butt size 600,400 fsize 10 lw 1 fontscale 1 name "timedat_1" jsdir "."
# set output 'timedat.1.js'
set border 31 front linetype -1 linewidth 1.000
set timefmt z "%d/%m/%y\t%H%M"
set timefmt y "%d/%m/%y\t%H%M"
set timefmt x "%d/%m/%y\t%H%M"
set xdata time
set timefmt cb "%d/%m/%y\t%H%M"
set timefmt y2 "%d/%m/%y\t%H%M"
set timefmt x2 "%d/%m/%y\t%H%M"
set format x "%d/%m\n%H:%M"
set format y "% g"
set format x2 "% g"
set format y2 "% g"
set format z "% g"
set format cb "% g"
set format r "% g"
set grid nopolar
set grid xtics nomxtics ytics nomytics noztics nomztics \
 nox2tics nomx2tics noy2tics nomy2tics nocbtics nomcbtics
set grid layerdefault   linetype 0 linewidth 1.000,  linetype 0 linewidth 1.000
set key inside left top vertical Right noreverse enhanced autotitles nobox
set style increment default
set style histogram clustered gap 2 title  offset character 0, 0, 0
set clabel '%8.3g'
set style data fsteps
set xzeroaxis linetype -2 linewidth 1.000
set yzeroaxis linetype -2 linewidth 1.000
set zzeroaxis linetype -2 linewidth 1.000
set x2zeroaxis linetype -2 linewidth 1.000
set y2zeroaxis linetype -2 linewidth 1.000
set xtics border in scale 1,0.5 mirror norotate  offset character 0, 0, 0 autojustify
set ytics border in scale 1,0.5 mirror norotate  offset character 0, 0, 0 autojustify
set ztics border in scale 1,0.5 nomirror norotate  offset character 0, 0, 0 autojustify
set cbtics border in scale 1,0.5 mirror norotate  offset character 0, 0, 0 autojustify
set rtics axis in scale 1,0.5 nomirror norotate  offset character 0, 0, 0 autojustify
set title "Fsteps plot\nwith date and time as x-values" 
set title  offset character 0, 0, 0 font "" norotate
set timestamp  offset character 0, 0, 0 font "" norotate
set xlabel "Date\nTime" 
set xlabel  offset character 0, 0, 0 font "" textcolor lt -1 norotate
set x2label  offset character 0, 0, 0 font "" textcolor lt -1 norotate
set xrange [ "01/06/93\t0000" : "01/11/93\t0000" ] noreverse nowriteback
set ylabel "Concentration\nmg/l" 
set ylabel  offset character 0, 0, 0 font "" textcolor lt -1 rotate by -270
set y2label  offset character 0, 0, 0 font "" textcolor lt -1 rotate by -270
set yrange [ 0.00000 : * ] noreverse nowriteback
set zlabel  offset character 0, 0, 0 font "" textcolor lt -1 norotate
set cblabel  offset character 0, 0, 0 font "" textcolor lt -1 rotate by -270
set fit noerrorvariables
plot 'timedat.dat' using 1:3 t '',      'timedat.dat' using 1:3 t 'Total P' with points,      'timedat.dat' using 1:4 t '',      'timedat.dat' using 1:4 t 'PO4' with points