13 lines
267 B
Python
Executable File
13 lines
267 B
Python
Executable File
import numpy as np
|
|
import matplotlib.pyplot as plt
|
|
|
|
num_points = 1200
|
|
|
|
x = np.random.uniform(-5.2, 20.7, num_points)
|
|
y = np.random.uniform(-5.2, 20.7, num_points)
|
|
|
|
plt.figure(figsize=(8, 8))
|
|
plt.scatter(x, y, color="green", s=10, alpha=0.6)
|
|
plt.grid(True)
|
|
plt.show()
|