#!/usr/local/bin/gnuplot -persist # set terminal canvas rounded size 600,400 enhanced fsize 10 lw 1.6 fontscale 1 name "timedat_1" jsdir "." # set output 'timedat.1.js' set xdata time set format x "%d/%m\n%H:%M" timedate set timefmt "%d/%m/%y %H%M" set grid nopolar set grid xtics nomxtics ytics nomytics noztics nomztics nortics nomrtics \ nox2tics nomx2tics noy2tics nomy2tics nocbtics nomcbtics set grid layerdefault lt 0 linecolor 0 linewidth 0.500, lt 0 linecolor 0 linewidth 0.500 set key fixed left top vertical Right noreverse enhanced autotitle nobox set style data fsteps set title "Fsteps plot\nwith date and time as x-values" set xlabel "Date\nTime" set xrange [ "01/06/93\t0000" : "01/11/93\t0000" ] noreverse nowriteback set x2range [ * : * ] noreverse writeback set ylabel "Concentration\nmg/l" set yrange [ 0.00000 : * ] noreverse writeback set y2range [ * : * ] noreverse writeback set zrange [ * : * ] noreverse writeback set cbrange [ * : * ] noreverse writeback set rrange [ * : * ] noreverse writeback set colorbox vertical origin screen 0.9, 0.2 size screen 0.05, 0.6 front noinvert bdefault ## Last datafile plotted: "timedat.dat" 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