Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- n_dots = 200
- x1 = np.random.uniform(-20, 20, n_dots//2)
- y1_1 = (400 - x1**2)**.5
- y1_2 = -(400 - x1**2)**.5
- plt.figure(figsize=(8, 8))
- plt.scatter(x1, y1_1, c = 'blue')
- plt.scatter(x1, y1_2, c = 'blue')
- plt.show()
Add Comment
Please, Sign In to add comment