Commit a7225f03 authored by Taddeüs Kroes's avatar Taddeüs Kroes

ModSim ass4 taddeus: Updated benchmark plot script.

parent 26000269
#!/usr/bin/env python
from sys import argv
from pylab import plot, show, savefig
from pylab import plot, xlabel, ylabel, show, savefig
# Collect data
x = []
......@@ -19,10 +19,10 @@ for line in results.readlines()[1:]:
x.append(int(n))
y.append(float(t))
print x, y
# Plot data
plot(x, y, 'o-')
xlabel('Aantal processen')
ylabel('Tijd (s)')
if len(argv) > 1:
savefig(argv[1])
show()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment