diff --git a/www/gplot/EnO_liquidLeakage.gplot b/www/gplot/EnO_liquidLeakage.gplot index 423cdc4f9..7d369a95e 100644 --- a/www/gplot/EnO_liquidLeakage.gplot +++ b/www/gplot/EnO_liquidLeakage.gplot @@ -1,6 +1,6 @@ ############################################## # $Id$ -# Display a keycard log +# Display a liquid leakage sensor log # FileLog definition: # define FileLog_device FileLog ./log/device-%Y.log device # @@ -9,19 +9,18 @@ set terminal png transparent size crop set output '.png' +set title '' set xdata time set timefmt "%Y-%m-%d_%H:%M:%S" set xlabel " " set ylabel "Liquid Leakage Sensor" -set title '' +set y2label "" set ytics ("wet" 1, "dry" 0) set y2tics ("wet" 1, "dry" 0) set yrange [-0.1:1.1] set y2range [-0.1:1.1] +set grid -#FileLog "1":wet:1: -#FileLog "0":dry:0: +#FileLog 3:.*:0:$fld[2]=~"wet"?1:0 -plot\ - "< awk '/wet/ {print $1, 1;}' " using 1:2 notitle with points,\ - "< awk '/dry/ {print $1, 0;}' " using 1:2 notitle with points +plot "" using 1:2 axes x1y1 notitle ls l0 lw 1 with steps