plot threads vs timing data #6
					 1 changed files with 4 additions and 1 deletions
				
			
		|  | @ -14,10 +14,13 @@ 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, ax = plt.subplots(1, 1) | ||||||
| 
 | 
 | ||||||
| # CREATE YOUR PLOT HERE | # CREATE YOUR PLOT HERE | ||||||
| # Remember to label your axis | # Remember to label your axis | ||||||
| # Feel free to make it pretty | # Feel free to make it pretty | ||||||
|  | plt.subplot | ||||||
|  | ax.scatter(threads, timings) | ||||||
|  | plt.show() | ||||||
| 
 | 
 | ||||||
| plt.savefig('threads_v_timings.png', dpi=300) | plt.savefig('threads_v_timings.png', dpi=300) | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue