last lab
This commit is contained in:
12
labPython/lab6/task5_5_2.py
Executable file
12
labPython/lab6/task5_5_2.py
Executable file
@@ -0,0 +1,12 @@
|
||||
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()
|
||||
Reference in New Issue
Block a user