First version for SVG / HOWTO

git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@206 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2008-07-11 07:35:12 +00:00
parent c9fd73037d
commit 8c7906eaea
13 changed files with 919 additions and 322 deletions

View File

@@ -3,7 +3,7 @@
# FileLog definition:
# define FileLog ks300log ks300:.*H:.* /var/log/ks300-%Y-%U.log
#
set terminal png transparent size 800,200 crop
set terminal png transparent size <SIZE> crop
set output '<OUT>.png'
set xdata time
set timefmt "%Y-%m-%d_%H:%M:%S"
@@ -13,16 +13,16 @@ set y2tics
set title '<TL>'
set grid
set y2label "Temperature (Celsius)"
set y2label "Temperature in C<>"
set format y "%0.1f"
set ylabel "Rain (l/m2)"
set yrange [0:]
# Computing Rain/h and Rain/d values by accumulating the changes.
#FileLog 4:IR:
#FileLog 10:IR:delta-h
#FileLog 10:IR:delta-d
#FileLog 4:IR:0:
#FileLog 10:IR:0:delta-h
#FileLog 10:IR:0:delta-d
plot "<IN>" using 1:4 axes x1y2 title 'Temperature' with lines lw 2,\
"<grep -v avg_ <IN> | perl -ane '\