power8top10.gplot 677 B

12345678910111213141516171819202122232425262728293031
  1. ############################
  2. # Display the power reported by the EM1000FM received bei CUL
  3. #set terminal png transparent size <SIZE> crop
  4. set terminal png size <SIZE> crop
  5. set output '<OUT>.png'
  6. set xdata time
  7. set timefmt "%Y-%m-%d_%H:%M:%S"
  8. set xlabel "Energiemonitor EM1000EM"
  9. set title '<L1>'
  10. set ylabel "Power (kW)"
  11. set y2label "Power (kWh)"
  12. set grid
  13. set ytics
  14. set y2tics
  15. set logscale y
  16. set logscale y2
  17. set format y "%.1f"
  18. set format y2 "%.1f"
  19. #FileLog 8::0:
  20. #FileLog 10::0:
  21. plot \
  22. "< awk '/5MIN:/ {print $1, $8}' <IN>"\
  23. using 1:2 axes x1y2 title 'kWh' with lines,\
  24. "< awk '/TOP:/ {print $1, $10}' <IN>"\
  25. using 1:2 axes x1y1 title 'Spitze kW' with lines