Hello all,
I plot two functions and then I want to fill the region between them in red (for example).
Could you please suggest me the function to do this?
Thanks
x=0:0.1:10;y1=exp(-x/2);y2=exp(-x/3);figurehold onplot(x,y1)plot(x,y2)
fillregion
x=0:0.1:10;y1=exp(-x/2);y2=exp(-x/3);figurehold onplot(x,y1)plot(x,y2)
Best Answer