Advertisement
Guest User

Untitled

a guest
Feb 24th, 2018
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. 45 x2 = np.linspace(mu - 3*sig, mu + 3*sig, 100)
  2. 46
  3. 47 n, x, _ = plt.hist(vlist, bins=np.linspace(xmin, xmax, binnum),
  4. 48 histtype=u'step', normed=False, color = 'black',linewidth=4)
  5. 49 binwidth = x[1]-x[0]
  6. 50 plt.plot(x2,binwidth*len(vlist)*mlab.normpdf(x2, mu, sig),color = 'red', linewidth = 4)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement