I have the following code:
clcclearclose allx = [0:.001:.2];y = normpdf(x,.1,.02);subplot(211)plot(x,y,'linewidth',2);grid;box on;hold onYL = get(gca, 'ylim');YR = YL(2) - YL(1);YL = [YL(1) - 1000 * YR, YL(2) + 1000 * YR];line([.14 .14], YL, 'YLimInclude', 'off', 'linewidth', 2, 'Color', ... 'black','LineStyle','-.');
I want to shade the area shown below:
Best Answer