temp4hum4.gplot 668 B

12345678910111213141516171819202122232425262728
  1. # Attribute 'small' is useful for gnuplot/-scroll only,
  2. # if plotsize is less than 800,400
  3. #set terminal png transparent small size <SIZE> crop
  4. set terminal png transparent size <SIZE> crop
  5. set output '<OUT>.png'
  6. set xdata time
  7. set timefmt "%Y-%m-%d_%H:%M:%S"
  8. set xlabel " "
  9. set ytics nomirror
  10. set y2tics
  11. #set ytics
  12. set title '<L1>'
  13. set grid xtics y2tics
  14. set y2label "Temperature in C"
  15. set ylabel "Humidity (%)"
  16. #FileLog 4:temperature:10:
  17. #FileLog 4:humidity:50:
  18. plot \
  19. "< egrep 'temperature' <IN>"\
  20. using 1:4 axes x1y2 title 'Measured temperature' with lines,\
  21. "< egrep 'humidity' <IN>"\
  22. using 1:4 axes x1y1 title 'Humidity (%)' with lines\