diff --git a/examples/sky/sky-collect-plots/make-plots b/examples/sky/sky-collect-plots/make-plots index 5f40dd946..7817872c3 100755 --- a/examples/sky/sky-collect-plots/make-plots +++ b/examples/sky/sky-collect-plots/make-plots @@ -14,6 +14,7 @@ for f in `echo data-*` cp lost-$f lost cp dup-$f dup cp parent-$f parent + cp power-$f power gnuplot plot-all for p in `echo plot-*.eps` do diff --git a/examples/sky/sky-collect-plots/plot-power b/examples/sky/sky-collect-plots/plot-power index 455e8509f..0a8353f2a 100644 --- a/examples/sky/sky-collect-plots/plot-power +++ b/examples/sky/sky-collect-plots/plot-power @@ -8,18 +8,18 @@ set style fill pattern #set key top left Left width -5 plot [:] [0:] \ -'power' using \ +'total-power' using \ 2:((0.0545 * $3 + 1.8 * $4 + 20.0 * $5 + 17.7 * $6 + 4.6 * $7) / 4096) * 3 / $1 \ with boxes title "Red LED", \ -'power' using \ +'total-power' using \ 2:((0.0545 * $3 + 1.8 * $4 + 20.0 * $5 + 17.7 * $6) / 4096) * 3 / $1 \ with boxes title "Radio transmit", \ -'power' using \ +'total-power' using \ 2:((0.0545 * $3 + 1.8 * $4 + 20.0 * $5) / 4096) * 3 / $1 \ with boxes title "CPU low-power mode", \ -'power' using \ +'total-power' using \ 2:((1.8 * $4 + 20.0 * $5) / 4096) * 3 / $1 \ with boxes title "CPU active mode", \ -'power' using \ +'total-power' using \ 2:((20.0 * $5) / 4096) * 3 / $1 \ with boxes title "Radio reception"