#set term pbm color small set terminal png x222222 xffffff #set term png #set output "sens.png" set timefmt "%Y-%m-%d %H:%M:%S" set format x "%y%m%d\n%H:%M" #set format x "%y%m%d" #set format x "%d/%m" set datafile missing "85.00" #set time set style line 1 lt 1 lw 1 pt 3 linecolor rgb "red" set style line 2 lt 1 lw 1 pt 3 linecolor rgb "blue" set style line 3 lt 1 lw 1 pt 3 linecolor rgb "green" set style line 4 lt 1 lw 1 pt 3 linecolor rgb "yellow" set style line 5 lt 1 lw 1 pt 3 linecolor rgb "brown" set style line 6 lt 1 lw 1 pt 3 linecolor rgb "white" set y2tics nomirror #set y2range [ 0 : 110 ] noreverse nowriteback #set y2tics 5, 0.5 set ytics nomirror set title "Solar Power Measurements in Bunda Power Stataion Tanzania\n\ Recorded by IEEE 802.15.4 Wireless Sensor Monitoring System" #set format x "%m%d" set xdata time set yrange [0 : 5 ] noreverse nowriteback set xrange [ "2012-05-24 00:00:00" : "2012-05-27 24:00:00"] #set y2label "Relative Humidity" plot \ "sens.dat" using 1:8 axes x1y1 title "Solar Power (Relative)" with line ls 3, \ "sens.dat" using 1:7 axes x1y1 title "Solar Voltage" with line ls 4; #"sens.dat" using 1:($5) axes x1y2 title "Rel. Humidity. % " with line ls 4; #"sens.dat" using 1:4 axes x1y1 title "Temp. Celcius" with line ls 1;