Hy joe3,
Thanks for the tip! The magic word is "hold on". That's because I used your method without hold on and my figure was redrawing for every plot, line, fill function ... .
Thanks again!
dan
Hy
This are my .m files. It draws the normal curve.
The problem: I need to shade area under the curve in interval -3:3. I don't know how. Pls help.
Lab.m
disp('Introduceti valoarea minima pe care doriti sa o reprezentati')
%vi=input('val minima:')
vi=-4
disp('Introduceti valoarea maxima pe...