Skip to content
Snippets Groups Projects
Commit a7225f03 authored by Taddeüs Kroes's avatar Taddeüs Kroes
Browse files

ModSim ass4 taddeus: Updated benchmark plot script.

parent 26000269
No related branches found
No related tags found
No related merge requests found
#!/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()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment