I have a cell fit1, which is of dimension 50x1.
Every entry of the cell is a matrix 52x50.
When I plot it:
for ii=1:k
hold On
plot(fit1{ii},'b')
xlim([-1100,5000])
ylim([-5,20])
legend('hide')
end
I get:
Now I want to do 2 things:
First of all I want to mark certain areas of the plot: for example in the between
x=-1000andx=0the background color should be yellow, betweenx=0andx=100it should be red etc.I want to draw some vertical lines - for example at
x=189.Is there a possibility to mark the x-axis in certain colors instead of the background?
when I use the suggestion I get:

