SVG-Plot: Linke Y-Achse falsch skaliert

Begonnen von FFHEM, 21 November 2021, 15:37:07

Vorheriges Thema - Nächstes Thema

FFHEM

Guten Tag,
bei manchen SVG-Plots sehe ich, dass die linke Y-Achse falsch skaliert ist - die rechte Skalierungs ist richtig, s. Screenshot!
Wie kann ich die linke Y-Achse komplett verhindern?
Vielen Dank!

# Created by FHEM/98_SVG.pm, 2021-11-20 14:41:03
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 y2tics
set ylabel ""
set y2label "lux"

#FileLog_LichtsensorOst 4:LichtsensorOst.brightnessInt\x3a::
#FileLog_LichtsensorSued 4:LichtsensorSued.brightnessInt\x3a::
#FileLog_LichtsensorWest 4:LichtsensorWest.brightnessInt\x3a::

plot "<IN>" using 1:2 axes x1y2 title 'Helligkeit Ost' ls l1 lw 0.5 with lines,\
     "<IN>" using 1:2 axes x1y2 title 'Helligkeit Süd' ls l0 lw 0.5 with lines,\
     "<IN>" using 1:2 axes x1y2 title 'Helligkeit West' ls l2 lw 0.5 with lines


Internals:
   DEF        FileLog_LichtsensorOst:SVG_FileLog_LichtsensorOst_1:CURRENT
   FUUID      612210a9-f33f-26cd-c1cb-10946492bf6dc415
   GPLOTFILE  SVG_FileLog_LichtsensorOst_1
   LOGDEVICE  FileLog_LichtsensorOst
   LOGFILE    CURRENT
   NAME       SVG_FileLog_LichtsensorOst_1
   NR         1293
   STATE      initialized
   TYPE       SVG
Attributes:
   endPlotNow 1
   endPlotToday 1
   label      "O: $data{currval1} S: $data{currval2} W: $data{currval3}"
   plotsize   320,200
   room       ASC,Licht,Wetterstation


Raspberry Pi 4B, Homematic, Sonoff, Shelly, Worx, Arduino, ESP8266

rudolfkoenig

#1
Zitatbei manchen SVG-Plots sehe ich, dass die linke Y-Achse falsch skaliert ist - die rechte Skalierungs ist richtig, s. Screenshot!
Ich kann bei mir mit der gezeigten .gplot Datei und eigenen Testdaten kein Problem feststellen, siehe Anhang.
Vermutlich braucht man zum debuggen die Daten aller verwendeten FileLogs.

ZitatWie kann ich die linke Y-Achse komplett verhindern?
set ytics nomirror

FFHEM

Danke, Rudolf,
dann weiß ich, wie ich weiter vorgehen kann!
Gruß,
Friedhelm
Raspberry Pi 4B, Homematic, Sonoff, Shelly, Worx, Arduino, ESP8266