plot threads vs timing data #6

Open
anthonyci wants to merge 1 commit from anthonyci/2024-heraklion-parallel-python:plot-stuff into main
Showing only changes of commit 8e3534cfe5 - Show all commits

View file

@ -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)