improve plotting code

This commit is contained in:
ASPP Student 2024-08-30 12:17:06 +03:00
parent f2e462842e
commit d56095950d

View file

@ -16,8 +16,8 @@ print('This is the data I loaded: threads =', threads, ', timings =',timings)
fig, axs = plt.subplots() fig, axs = plt.subplots()
# CREATE YOUR PLOT HERE plt.plot(threads, timings, '+')
# Remember to label your axis plt.xlabel('threads')
# Feel free to make it pretty plt.ylabel('timings')
plt.savefig('threads_v_timings.png', dpi=300) plt.savefig('threads_v_timings.png', dpi=300)