2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-05-05 02:19:31 +00:00
rudolfkoenig ba9270deee First version for SVG / HOWTO
git-svn-id: https://svn.fhem.de/fhem/trunk@206 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2008-07-11 07:35:12 +00:00

24 lines
598 B
Plaintext

#
# Display the Temperature and the humidity values of a KS300.
# FileLog definition:
# define FileLog ks300log ks300:.*H:.* /var/log/ks300-%Y-%U.log
#
set terminal png transparent size <SIZE> crop
set output '<OUT>.png'
set xdata time
set timefmt "%Y-%m-%d_%H:%M:%S"
set xlabel " "
set ytics nomirror
set y2tics
set title '<TL>'
set grid
set ylabel "Temperature in C°"
set y2label "Rain (l/m2)"
#FileLog 5:avg_day:0:
#FileLog 11:avg_day:0:
plot "<grep avg_day <IN>" using 1:5 axes x1y1 title 'Temperature' with lines,\
"<grep avg_day <IN>" using 1:11 axes x1y2 title 'Rain' with histeps