garden.gplot 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. ############################
  2. # Display irrigation times, the log must be of the form
  3. # 2008-04-29_19:00:06 GVent5 365 365 187
  4. # 2008-04-29_19:00:06 Total time is 365
  5. set terminal png transparent size <SIZE> crop
  6. set output '<OUT>.png'
  7. set xdata time
  8. set timefmt "%Y-%m-%d_%H:%M:%S"
  9. set xlabel " "
  10. set ytics nomirror
  11. set y2tics
  12. set title '<TL>'
  13. set grid xtics y2tics
  14. set ylabel "Minutes"
  15. set y2label "Minutes"
  16. #FileLog 3:GVent1:0:$d=$fld[2];$d/60
  17. #FileLog 3:GVent2:0:$d+=$fld[2];$fld[2]?$d/60:0
  18. #FileLog 3:GVent3:0:$d+=$fld[2];$fld[2]?$d/60:0
  19. #FileLog 3:GVent4:0:$d+=$fld[2];$fld[2]?$d/60:0
  20. #FileLog 3:GVent5:0:$d+=$fld[2];$fld[2]?$d/60:0
  21. #FileLog 3:GVent6:0:$d+=$fld[2];$fld[2]?$d/60:0
  22. #FileLog 3:GVent7:0:$d+=$fld[2];$fld[2]?$d/60:0
  23. #FileLog 3:GVent8:0:$d+=$fld[2];$fld[2]?$d/60:0
  24. plot "<IN>" using 1:3 title 'Lb west' with points,\
  25. "<IN>" using 1:3 title 'Rasen Sued' with points,\
  26. "<IN>" using 1:3 title 'Lb ost' with points,\
  27. "<IN>" using 1:3 title 'Rasen Haus' with points,\
  28. "<IN>" using 1:3 title 'Eingang' with points,\
  29. "<IN>" using 1:3 title 'Rasen West' with points,\
  30. "<IN>" using 1:3 title 'Stichstr.' with points,\
  31. "<IN>" using 1:3 title 'Beete' with points