hm-rt.gplot 787 B

12345678910111213141516171819202122232425262728
  1. ############################
  2. # Display the measured & desired temp and also the valve position.
  3. # Corresponding FileLog definition:
  4. # define <filelogname> FileLog /var/log/fhem/hm-rt-%Y-%m.log <hm-rt name>
  5. set terminal png transparent size <SIZE> crop
  6. set output '<OUT>.png'
  7. set xdata time
  8. set timefmt "%Y-%m-%d_%H:%M:%S"
  9. set xlabel " "
  10. set ytics nomirror
  11. set y2tics
  12. set yrange [0:100]
  13. set title '<L1>'
  14. set grid xtics y2tics
  15. set y2label "Temperature in C"
  16. set ylabel "Valve position (%)"
  17. #FileLog 4:measured-temp\x3a:0:
  18. #FileLog 4:desired-temp\x3a:0:
  19. #FileLog 4:ValvePosition\x3a:0:
  20. plot \
  21. using 1:2 axes x1y2 title 'Measured temperature' with lines,\
  22. using 1:2 axes x1y2 title 'Desired temperature' with lines,\
  23. using 1:2 axes x1y1 title 'Valve position' with lines