EnO_position4angle4.gplot 1019 B

1234567891011121314151617181920212223242526272829303132333435
  1. ##############################################
  2. # $Id: EnO_position4angle4.gplot 9584 2015-10-22 04:50:47Z klaus-schauer $
  3. # Display the blinds position
  4. #
  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 position: 25
  10. # 2015-10-17_08:38:08 device angle: 75
  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 size <SIZE> crop
  15. set output '<OUT>.png'
  16. set xdata time
  17. set timefmt "%Y-%m-%d_%H:%M:%S"
  18. set xlabel " "
  19. set ytics
  20. set title '<TL>'
  21. set grid xtics ytics
  22. set ylabel "position/%"
  23. set y2label "anglePos/%"
  24. set yrange [0:100]
  25. set y2range [0:100]
  26. set ytics ("open" 100, "25" 75, "50" 50, "75" 25, "closed" 0)
  27. #FileLog 4:position:0:100-$fld[3]
  28. #FileLog 4:anglePos:0:
  29. plot "<IN>" using ls l0 1:2 axes x1y1 title 'Position' with steps,\
  30. "<IN>" using ls l1 1:2 axes x1y1 title 'Angle Position' with steps