From 21f21b9e531b81cea0e415a520ceb8562bd60e4e Mon Sep 17 00:00:00 2001 From: ASPP Student Date: Fri, 26 Sep 2025 12:44:43 +0300 Subject: [PATCH] implemented plotting --- exercises/exerciseA/plot.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/exercises/exerciseA/plot.py b/exercises/exerciseA/plot.py index 4130224..168b32e 100755 --- a/exercises/exerciseA/plot.py +++ b/exercises/exerciseA/plot.py @@ -14,7 +14,11 @@ timings = np.array(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 # Remember to label your axis