Compare commits

...

2 Commits

Author SHA1 Message Date
d193bdbee3 Merge branch 'main' of https://arnweb.nl/gitea/arne/EV5_Beeldherk_Bomen 2023-10-04 12:34:53 +02:00
94af80beff lines 2023-10-04 12:34:36 +02:00

View File

@ -26,6 +26,11 @@ def calcNormalFunc(mean, sd, len):
f = calcNormalFunc(mean, sd, N)
plt.title("PDF: $\mu = %d$, $\sigma = %d$"%(mean, sd))
plt.vlines(sd+mean, 0, f[mean-sd], colors='orange')
plt.vlines(mean-sd, 0, f[mean-sd], colors='orange', label='$\sigma$')
plt.vlines(2*sd+mean, 0, f[mean-2*sd], colors='green')
plt.vlines(mean-2*sd, 0, f[mean-2*sd], colors='green', label='$2\sigma$')
plt.legend()
plt.plot(f)
plt.grid()
plt.xlim(0, 255)