Random Walk, Normal Distribution, Rayleigh, Maxwell Boltzmann, Diffusion Equation.
distribution with loc={loc:.2f} and scale={scale:.2f}') x = np.linspace(-5, 5, 100) plt.plot(x, norm.pdf(x), 'r-', lw=2, alpha=0.6, label='standard normal distribution') plt.hist(r, density=True, alpha = 0.6, label='histogram from random walk') plt.xlabel('x'); plt.ylabel('probability density')