plot threads vs timing data
This commit is contained in:
parent
f2e462842e
commit
8e3534cfe5
|
@ -14,10 +14,13 @@ timings = np.array(timings)
|
||||||
|
|
||||||
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, ax = plt.subplots(1, 1)
|
||||||
|
|
||||||
# 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
|
||||||
|
plt.subplot
|
||||||
|
ax.scatter(threads, timings)
|
||||||
|
plt.show()
|
||||||
|
|
||||||
plt.savefig('threads_v_timings.png', dpi=300)
|
plt.savefig('threads_v_timings.png', dpi=300)
|
||||||
|
|
Loading…
Reference in a new issue