EnO_D2-32-xx.gplot 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  1. ##############################################
  2. # $Id: EnO_D2-32-xx.gplot 9570 2015-10-21 04:23:05Z klaus-schauer $
  3. # Display the current
  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 current1: 1.4
  9. # 2015-10-17_08:38:08 device current2: 456
  10. # 2015-10-17_08:38:08 device current3: 349
  11. # Attribute 'small' is useful for gnuplot/-scroll only,
  12. # if plotsize is less than 800,400
  13. #set terminal png transparent small size <SIZE> crop
  14. set terminal png transparent truecolor rounded medium size <SIZE> enhanced
  15. set output '<OUT>.png'
  16. set xdata time
  17. set timefmt "%Y-%m-%d_%H:%M:%S"
  18. set title '<TL>'
  19. set xlabel " "
  20. set ylabel "I/A"
  21. set y2label " "
  22. set ytics
  23. set grid xtics ytics
  24. #FileLog 4:current1:0:
  25. #FileLog 4:current2:0:
  26. #FileLog 4:current3:0:
  27. plot \
  28. "<IN>" using 1:2 ls l0 axes x1y1 title 'Channel 1' with lines,\
  29. "<IN>" using 1:2 ls l1 axes x1y2 title 'Channel 2' with lines,\
  30. "<IN>" using 1:2 ls l2 axes x1y2 title 'Channel 3' with lines