implemented plotting #2
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue