# Plot LDR (REV2) vs phototransistor (REV3/200k) light sensor outputs. set timefmt "%Y/%m/%dT%H:%M:%SZ" set format x "%H:%M" set xdata time set terminal png size 640,240 set output "LDRvsPHT.png" set title "LDR vs Phototransistor" #set key outside #set key right set grid #set xrange [0.1:12] #set yrange [0:60] #set xtics rotate set y2tics nomirror plot "20140519-REV2_LDR_vs_REV3_PHT.dat" \ using 1:3 title "LDR" with lines lw 1, \ "" using 1:4 title "PHT" with lines lw 1 axes x1y2