# Convert datasets to graphs using gnuplot # First value is 1/100 second - convert to hours # Second value is 10 bit A/D output, convert to fraction set terminal postscript eps #set terminal postscript color set grid set output "battery.eps" set xlabel "Hours since power-up" set ylabel "A/D channel 1 (0-1024)" plot \ "robotC-B1-radio.data" using ($1/(100*60*60)):($2) \ title "Robot C, B1, radio only" with lines, \ "robotC-B2-radio.data" using ($1/(100*60*60)):($2) \ title "Robot C, B2, radio only" with lines, \ "robotD-B3-radio.data" using ($1/(100*60*60)):($2) \ title "Robot D, B3, radio only" with lines, \ "robotE-B3-radio.data" using ($1/(100*60*60)):($2) \ title "Robot E, B3, radio only" with lines, \ "robotE-B2-radio.data" using ($1/(100*60*60)):($2) \ title "Robot E, B2, radio only" with lines, \ "robotD-B1-all.data" using ($1/(100*60*60)):($2) \ title "Robot D, B1, everything" with lines, \ "robotE-B1-all.data" using ($1/(100*60*60)):($2) \ title "Robot E, B1, everything" with lines, \ "robotE-B2-all.data" using ($1/(100*60*60)):($2) \ title "Robot E, B2, everything" with lines, \ "robotE-B3-all.data" using ($1/(100*60*60)):($2) \ title "Robot E, B3, everything" with lines