Plotüberschrift

Begonnen von stgeran, 20 Januar 2017, 20:24:33

Vorheriges Thema - Nächstes Thema

stgeran

Bei dieser Plotdefinition
# Created by FHEM/98_SVG.pm, 2017-01-20 20:13:23
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 title '<L1>'
set ytics
set y2tics
set grid
set ylabel "Feuchte"
set y2label "Temperatur"
set y2range [-15:30]

#FileLog_Bad_Temp 4:Bad_Temp.temperature\x3a:C°:
#FileLog_Bad_Temp 4:Bad_Temp.humidity\x3a:%:
#FileLog_Bad_Temp 8:Bad_Temp.*:C°:

plot "<IN>" using 1:2 axes x1y2 title 'Temperatur' ls l0 lw 1 with lines,\
     "<IN>" using 1:2 axes x1y1 title 'Feuchte' ls l1 lw 1 with lines,\
     "<IN>" using 1:2 axes x1y2 title 'Taupunkt' ls l2 lw 1 with lines

bekomme ich als Überschrift

<L1>

Bei einer anderen
# Created by FHEM/98_SVG.pm, 2016-12-11 19:04:39
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 title '<L1>'
set ytics
set y2tics
set grid ytics y2tics
set ylabel "Ventil"
set y2label "Temperatur"
set yrange [0:100]
set y2range [5:30]
set y3range [0:-100]

#FileLog_Hzg_Buero 4:Hzg_Buero.temperature\x3a:C°:
#FileLog_Hzg_Buero 4:WT_Buero.desiredTemperature\x3a:C°:
#FileLog_Hzg_Buero 4:Hzg_Buero.valveposition\x3a:%:
#FileLog_Hzg_Buero 4:Hzg_Buero.RSSI\x3a:dB:

plot "<IN>" using 1:2 axes x1y2 title 'Ist Temp' ls l0 lw 1 with lines,\
     "<IN>" using 1:2 axes x1y2 title 'Soll Temp' ls l1 lw 1 with lines,\
     "<IN>" using 1:2 axes x1y1 title 'Ventil' ls l2 lw 1 with lines,\
     "<IN>" using 1:2 axes x1y3 title 'RSSI' ls l4 lw 1 with lines

folgende Überschrift
Temp Buero Soll 22.0, Min 19.8, Max 23.1, aktuell 22.3, Ventil 9%

Ich kann keinen Unterschied feststellen, warum ich einmal die "richtige" Überschrift habe und im anderen Fall "NUR" das <L1>
FHEM auf Raspberry
CSM 866MHz für EM1010 mit Strom und Gaszähler
CUL 866MHz für MAX! Radiator Thermostat 
CUL 433MHz für Innen und Aussen Temp
HMLAN für HM-LC-Sw1-PI-2

stromer-12

Schau mal in deine SVG Definition zum Plot, da hast du sicherlich das Attribut label vergeben und einmal nicht.
FHEM (SVN) auf RPi1B mit HMser | ESPLink
FHEM (SVN) virtuell mit HMLAN | HMUSB | CUL

stgeran

Ich habe in beiden Definitionen
set xlabel " "
set title '<L1>'

meinst Du das?
FHEM auf Raspberry
CSM 866MHz für EM1010 mit Strom und Gaszähler
CUL 866MHz für MAX! Radiator Thermostat 
CUL 433MHz für Innen und Aussen Temp
HMLAN für HM-LC-Sw1-PI-2

stgeran

Ich komme nicht weiter, hat jemand noch eine Idee?
FHEM auf Raspberry
CSM 866MHz für EM1010 mit Strom und Gaszähler
CUL 866MHz für MAX! Radiator Thermostat 
CUL 433MHz für Innen und Aussen Temp
HMLAN für HM-LC-Sw1-PI-2

stromer-12

Schau in die SVG Definitionen, nicht in die Gplot Datei.
FHEM (SVN) auf RPi1B mit HMser | ESPLink
FHEM (SVN) virtuell mit HMLAN | HMUSB | CUL

stgeran

Das sind doch alles g.plot Dateien. Wo finde ich "im Wald" die SVG Definitionen?
FHEM auf Raspberry
CSM 866MHz für EM1010 mit Strom und Gaszähler
CUL 866MHz für MAX! Radiator Thermostat 
CUL 433MHz für Innen und Aussen Temp
HMLAN für HM-LC-Sw1-PI-2

stgeran

Ah, ich bin weiter. NUR wie definiere ich den label? In der command ref habe ich nichts gefunden.
FHEM auf Raspberry
CSM 866MHz für EM1010 mit Strom und Gaszähler
CUL 866MHz für MAX! Radiator Thermostat 
CUL 433MHz für Innen und Aussen Temp
HMLAN für HM-LC-Sw1-PI-2