Guest User

Untitled

a guest
Jun 19th, 2018
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. n_dots = 200
  2. x1 = np.random.uniform(-20, 20, n_dots//2)
  3. y1_1 = (400 - x1**2)**.5
  4. y1_2 = -(400 - x1**2)**.5
  5. plt.figure(figsize=(8, 8))
  6. plt.scatter(x1, y1_1, c = 'blue')
  7. plt.scatter(x1, y1_2, c = 'blue')
  8. plt.show()
Add Comment
Please, Sign In to add comment