adapted plot with new readings

This commit is contained in:
Philipp Wo 2019-10-22 07:21:41 +00:00
parent ed7af3236f
commit 871187b350
1 changed files with 10 additions and 6 deletions

View File

@ -48,7 +48,7 @@ GPlot-Beispiel:
<img src="https://home.wolfmajer.at/wolfgit/Public/FHEM-Tado/raw/branch/master/doc/Modul2-SVG.PNG" width="500" />
```
# Created by FHEM/98_SVG.pm, 2019-10-15 15:25:20
# Created by FHEM/98_SVG.pm, 2019-10-20 03:52:15
set terminal png transparent size <SIZE> crop
set output '<OUT>.png'
set xdata time
@ -56,16 +56,20 @@ set timefmt "%Y-%m-%d_%H:%M:%S"
set xlabel " "
set title '<TL>'
set ytics
set y2tics ("Home" 0, "Away" 1.5)
set y2tics
set grid ytics
set ylabel "Temperatur"
set y2label "Geo"
set y2label "Heizleistung"
set yrange [18:26]
set y2range [0:1.5]
set y2range [0:100]
#Log_tadoAPI 4:mytd.Temperatur\x3a::
#Log_tadoAPI 4:mytd.Geolocation\x3a::
#Log_tadoAPI 4:mytd.Geolocation\x3a::$fld[3]*=30
#Log_tadoAPI 4:mytd.Luftfeuchtigkeit\x3a::
#Log_tadoAPI 4:mytd.Heizleistung\x3a::
plot "<IN>" using 1:2 axes x1y1 title 'Temperatur' ls l1fill lw 1 with lines,\
"<IN>" using 1:2 axes x1y2 title 'Geo' ls l0fill_stripe lw 2 with histeps
"<IN>" using 1:2 axes x1y2 title 'Geo' ls l0fill_stripe lw 1 with histeps,\
"<IN>" using 1:2 axes x1y2 title 'Feuchte' ls l2 lw 1 with lines,\
"<IN>" using 1:2 axes x1y2 title 'Heizleistung' ls l5 lw 1.5 with lines
```