summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-12-11 13:56:04 +0000
committerCarl Hetherington <cth@carlh.net>2015-12-11 13:56:04 +0000
commit363903f0b3c93ccf526f0b218401c8e71ceeb6c5 (patch)
treeaaad70f4ea93ba74692aea110e980b29c5495da5 /scripts
parentf5ce5c8fc22884a4f74c0461dd7ced26731ef67e (diff)
Small fixes.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/plotdiff7
1 files changed, 6 insertions, 1 deletions
diff --git a/scripts/plotdiff b/scripts/plotdiff
index debd7000..7991b735 100755
--- a/scripts/plotdiff
+++ b/scripts/plotdiff
@@ -11,14 +11,19 @@ with open(sys.argv[1], 'r') as f:
for l in f:
l = l.strip()
s = l.split()
+
+ if l.find("out of range") != -1:
+ continue
+
if l.startswith('Compared'):
N = int(s[3])
if mean is None:
mean = numpy.zeros(int(s[5]))
deviation = numpy.zeros(int(s[5]))
elif l.startswith('mean'):
+ print s
mean[N] = float(s[2])
- deviation[N] = float(s[5])
+ deviation[N] = float(s[4])
plt.plot(mean)
plt.plot(deviation)