% Matlab script to plot Normal bell curves
%
% Keith Chugg -- no copyright asserted
%

m=3;
x = [m-4:.001:m+4];

sigma=1;
bell_1 = normpdf(x,m,sigma);

sigma=4;
bell_4 = normpdf(x,m,sigma);

sigma=1/4;
bell_0p25 = normpdf(x,m,sigma);


figure;
plot(x,bell_4,'b',x,bell_1,'r',x,bell_0p25,'k','LineWidth',1.5);

title('Gaussian Bell Curves (m=3)')
xlabel('x')
legend({'sigma=4','sigma=1', 'sigma=0.25'},'Location', 'NorthWest')