EnO_A5-20-01.gplot 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. ##############################################
  2. # $Id: EnO_A5-20-01.gplot 10960 2016-02-28 19:30:22Z klaus-schauer $
  3. # Display the measured temp and the setpoint (valve position).
  4. # FileLog definition:
  5. # define FileLog_device FileLog ./log/device-%Y.log device
  6. #
  7. # Logfile record example:
  8. # 2015-10-17_08:38:08 device temperature: 17.4
  9. # 2015-10-17_08:38:08 device setpoint: 45
  10. # Attribute 'small' is useful for gnuplot/-scroll only,
  11. # if plotsize is less than 800,400
  12. #set terminal png transparent small size <SIZE> crop
  13. set terminal png transparent size <SIZE> crop
  14. set output '<OUT>.png'
  15. set xdata time
  16. set timefmt "%Y-%m-%d_%H:%M:%S"
  17. set xlabel " "
  18. set ytics
  19. set title '<TL>'
  20. set grid xtics ytics
  21. set ylabel "t/C"
  22. set y2label "setpoint/%"
  23. set y2range [0:100]
  24. #FileLog 4:temperature\x3a:0:
  25. #FileLog 4:setpointTemp\x3a:0:
  26. #FileLog 4:setpoint\x3a:0:
  27. plot "<IN>" using 1:2 ls l3 axes x1y1 title 'Temperature' with lines,\
  28. "<IN>" using 1:2 ls l0 axes x1y1 title 'Setpoint Temperature' with steps,\
  29. "<IN>" using 1:2 ls l2fill axes x1y2 title 'Setpoint' with steps