import numpy as np
import matplotlib.pyplot as plt
N = 10000
r = 1
winkel = 2 * np.pi * np.random.rand(N)
radius = r * np.random.rand(N)
x = np.sin(winkel) * radius;
y = np.cos(winkel) * radius;
plt.scatter(x, y)
plt.show()
-
reox
- Beiträge: 2511
- Registriert: 06.06.2006 22:09:47
Zurück zu „Bilder vom Forum“