implemented plotting #2

Open
neleha wants to merge 1 commit from neleha/2025-plovdiv-parallel-python:exercise-a into main
Showing only changes of commit 21f21b9e53 - Show all commits

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