implemented plotting

This commit is contained in:
ASPP Student 2025-09-26 12:44:43 +03:00
parent eae8e29f47
commit 21f21b9e53

View file

@ -14,7 +14,11 @@ 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, axs = plt.subplots()
plt.scatter(threads, timings)
plt.xlabel("Number of threads")
plt.ylabel("Time in sec")
plt.title("Number of Threads vs. Time")
# CREATE YOUR PLOT HERE # CREATE YOUR PLOT HERE
# Remember to label your axis # Remember to label your axis