EnO_A5-20-10.gplot 859 B

123456789101112131415161718192021222324252627282930313233
  1. ##############################################
  2. # $Id: EnO_A5-20-10.gplot 9644 2015-10-25 09:35:15Z klaus-schauer $
  3. #
  4. # Display the fan speed.
  5. # FileLog definition:
  6. # define FileLog_device FileLog ./log/device-%Y.log device
  7. #
  8. # Logfile record example:
  9. # 2015-10-17_08:38:08 device fanSpeed: 4
  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 y2tics
  20. set title '<TL>'
  21. set grid xtics ytics
  22. set ylabel "Fan Speed"
  23. set y2label " "
  24. set y2tics ("unknown" 15, "auto", 0)
  25. set yrange [0:15]
  26. set y2range [0:15]
  27. #FileLog 4:fanSpeed:0:$fld[3]=~"not_supported"?0:$fld[3]
  28. plot "<IN>" using 1:2 ls l0 axes x1y1 notitle with steps