Plotting of 1-dimensional Gaussian distribution function With the excellent matplotlib and numpy packages will produce something like