Hi!
I'm trying to shade the std (daily_std) for mean sst (daily_average).
I've seen similar questions, but those codes don't work for me.
My x-axis is one year of date times. My y axis is the mean of sst.
I've done the following code:
figurecurve1=daily_average(:,1)+daily_std(:,1); %only column 1 because every column is one different location
curve2=daily_average(:,1)-daily_std(:,1); plot(date,curve1,'r')hold onplot(date,curve2,'r')hold ondate2 = [date, fliplr(date)];inBetween = [curve1, fliplr(curve2)];fill(date2, inBetween, 'g');hold on;plot(date, daily_average(:,1));
However, I obtain the following result:
Any idea?
Thank you very much
Best Answer