plot #6
1 changed files with 5 additions and 0 deletions
|
@ -12,10 +12,15 @@ for file in os.listdir('timings'):
|
||||||
threads = np.array(threads)
|
threads = np.array(threads)
|
||||||
timings = np.array(timings)
|
timings = np.array(timings)
|
||||||
|
|
||||||
|
indexes = np.argsort(threads)
|
||||||
|
threads= threads[indexes]
|
||||||
|
timings = timings[indexes]
|
||||||
print('This is the data I loaded: threads =', threads, ', timings =',timings)
|
print('This is the data I loaded: threads =', threads, ', timings =',timings)
|
||||||
|
|
||||||
fig, axs = plt.subplots()
|
fig, axs = plt.subplots()
|
||||||
|
|
||||||
|
plt.scatter(threads, timings)
|
||||||
|
plt.plot(threads, timings)
|
||||||
# CREATE YOUR PLOT HERE
|
# CREATE YOUR PLOT HERE
|
||||||
# Remember to label your axis
|
# Remember to label your axis
|
||||||
# Feel free to make it pretty
|
# Feel free to make it pretty
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue