1 # Convert datasets to graphs using gnuplot
2 # First value is 1/100 second - convert to hours
3 # Second value is 10 bit A/D output, convert to fraction
5 set terminal postscript eps
6 #set terminal postscript color
8 set output "battery.eps"
9 set xlabel "Hours since power-up"
10 set ylabel "A/D channel 1 (0-1024)"
12 "robotC-B1-radio.data" using ($1/(100*60*60)):($2) \
13 title "Robot C, B1, radio only" with lines, \
14 "robotC-B2-radio.data" using ($1/(100*60*60)):($2) \
15 title "Robot C, B2, radio only" with lines, \
16 "robotD-B3-radio.data" using ($1/(100*60*60)):($2) \
17 title "Robot D, B3, radio only" with lines, \
18 "robotE-B3-radio.data" using ($1/(100*60*60)):($2) \
19 title "Robot E, B3, radio only" with lines, \
20 "robotE-B2-radio.data" using ($1/(100*60*60)):($2) \
21 title "Robot E, B2, radio only" with lines, \
22 "robotD-B1-all.data" using ($1/(100*60*60)):($2) \
23 title "Robot D, B1, everything" with lines, \
24 "robotE-B1-all.data" using ($1/(100*60*60)):($2) \
25 title "Robot E, B1, everything" with lines, \
26 "robotE-B2-all.data" using ($1/(100*60*60)):($2) \
27 title "Robot E, B2, everything" with lines, \
28 "robotE-B3-all.data" using ($1/(100*60*60)):($2) \
29 title "Robot E, B3, everything" with lines