2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 18:59:33 +00:00
fhem-mirror/fhem/www/gplot/EnO_D2-32-xx.gplot
klaus-schauer 82014600d5 EnO_D2-32-xx.gplot: changed
git-svn-id: https://svn.fhem.de/fhem/trunk@9570 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-10-21 04:23:05 +00:00

36 lines
977 B
Plaintext

##############################################
# $Id$
# Display the current
# FileLog definition:
# define FileLog_device FileLog ./log/device-%Y.log device
#
# Logfile record example:
# 2015-10-17_08:38:08 device current1: 1.4
# 2015-10-17_08:38:08 device current2: 456
# 2015-10-17_08:38:08 device current3: 349
# Attribute 'small' is useful for gnuplot/-scroll only,
# if plotsize is less than 800,400
#set terminal png transparent small size <SIZE> crop
set terminal png transparent truecolor rounded medium size <SIZE> enhanced
set output '<OUT>.png'
set xdata time
set timefmt "%Y-%m-%d_%H:%M:%S"
set title '<TL>'
set xlabel " "
set ylabel "I/A"
set y2label " "
set ytics
set grid xtics ytics
#FileLog 4:current1:0:
#FileLog 4:current2:0:
#FileLog 4:current3:0:
plot \
"<IN>" using 1:2 ls l0 axes x1y1 title 'Channel 1' with lines,\
"<IN>" using 1:2 ls l1 axes x1y2 title 'Channel 2' with lines,\
"<IN>" using 1:2 ls l2 axes x1y2 title 'Channel 3' with lines