% plotNormal1d(mean, variance, resolution, weight, style) % % plots the values of a 1D normal distribution; if resolution is not given, % the curve is sampled with 1000 points, otherwise the number of points % given is used; if weight is given (0