Compare commits
No commits in common. "d193bdbee3c5b854075c6ec4835fe266b6690729" and "468f62633c3cd7f5202b2ce0ec1e597361cec673" have entirely different histories.
d193bdbee3
...
468f62633c
@ -25,12 +25,7 @@ def calcNormalFunc(mean, sd, len):
|
|||||||
|
|
||||||
f = calcNormalFunc(mean, sd, N)
|
f = calcNormalFunc(mean, sd, N)
|
||||||
|
|
||||||
plt.title("PDF: $\mu = %d$, $\sigma = %d$"%(mean, sd))
|
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.plot(f)
|
||||||
plt.grid()
|
plt.grid()
|
||||||
plt.xlim(0, 255)
|
plt.xlim(0, 255)
|
||||||
|
Loading…
Reference in New Issue
Block a user