improve plotting code #4
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue