From f89c004897b24dcf4ba1a461725bb0e08193ab11 Mon Sep 17 00:00:00 2001 From: klaus-schauer <> Date: Mon, 19 Oct 2015 20:05:51 +0000 Subject: [PATCH] EnO_liquidLeakage.gplot: changed git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@9549 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- www/gplot/EnO_liquidLeakage.gplot | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) 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