Multiline extension, pgm2 reordering

git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@168 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2008-05-09 13:58:10 +00:00
parent b651fa14cf
commit 88024406a8
17 changed files with 355 additions and 155 deletions

View File

@@ -3,18 +3,21 @@
# define pirilog FileLog /var/log/piri-%Y-%m-%d.log piri.*
# The devices are called piri.sz, piri.flo, piri.flu, prir.wz1 and piri.wz2
#
set terminal png size 800,200 crop
set terminal png transparent size 800,200 crop
set output '<OUT>.png'
set xdata time
set timefmt "%Y-%m-%d_%H:%M:%S"
set xlabel " "
set ylabel "Piri"
set y2label "Piri"
set title '<TL>'
set noytics
set yrange [-0.1:1.1]
set ytics ("Sz" 0.8, "FlO" 0.6, "FlU" 0.4, "Wz1" 0.2, "Wz2" 0.0)
set y2tics ("Sz" 0.8, "FlO" 0.6, "FlU" 0.4, "Wz1" 0.2, "Wz2" 0.0)
set yrange [-0.1:0.9]
plot\
"< awk '/sz/ {print $1, 0.8; }' <IN>" using 1:2 title 'sz' with points,\
"< awk '/flo/{print $1, 0.6; }' <IN>" using 1:2 title 'flo' with points,\
"< awk '/flu/{print $1, 0.4; }' <IN>" using 1:2 title 'flu' with points,\
"< awk '/wz1/{print $1, 0.2; }' <IN>" using 1:2 title 'wz1' with points,\
"< awk '/wz2/{print $1, 0.0; }' <IN>" using 1:2 title 'wz2' with points
"< awk '/sz/ {print $1, 0.8; }' <IN>" using 1:2 notitle with points,\
"< awk '/flo/{print $1, 0.6; }' <IN>" using 1:2 notitle with points,\
"< awk '/flu/{print $1, 0.4; }' <IN>" using 1:2 notitle with points,\
"< awk '/wz1/{print $1, 0.2; }' <IN>" using 1:2 notitle with points,\
"< awk '/wz2/{print $1, 0.0; }' <IN>" using 1:2 notitle with points