summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Doan <doanac@gmail.com>2012-01-23 12:13:57 -0600
committerAndy Doan <doanac@gmail.com>2012-01-23 12:13:57 -0600
commitb69ac2abe489066464682bdac741793c3debaeaa (patch)
tree19244ff1b75345df48340ad0fc744426f7ca9315
parent4700448267e628861dc64e4cbbc4b4fa7e35ef76 (diff)
downloadandroid_benchmark_views-b69ac2abe489066464682bdac741793c3debaeaa.tar.gz
flot error bars needs half off standard deviation
The flot code applies the error amount to both above and below the average. This reduces the standard deviation in half so the error range is the proper size
-rw-r--r--android_benchmark_views_app/benchmark_run.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/android_benchmark_views_app/benchmark_run.py b/android_benchmark_views_app/benchmark_run.py
index 8089a1b..59b4956 100644
--- a/android_benchmark_views_app/benchmark_run.py
+++ b/android_benchmark_views_app/benchmark_run.py
@@ -155,7 +155,7 @@ class CombinedRun:
data = []
j = 1
for res in self.test_results:
- data.append( [j, res.measurements[i], res.std_devs[i]] )
+ data.append( [j, res.measurements[i], res.std_devs[i]/2] )
j+=1
vals.append( {'label': self.run_labels[i], 'data': data} )
return vals