pyimpl

pyimpl
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: 2464
Registriert: 06.06.2006 22:09:47

pyimpl


05.01.2019 11:39:42
359

Zurück zu „Bilder vom Forum“