Plotting mean time trends

Hi,
How do I plot such a figure, I have time dependent information and atleast 3 per group but I would love some guidance on how to plot these types of figures.
Thanks

 采纳的回答

yes,sir,may be use data to fill area,such as
x = 0:0.2:10;
y = besselj(0, x);
xconf = [x x(end:-1:1)] ;
yconf = [y+0.15 y(end:-1:1)-0.15];
p = fill(xconf,yconf,'r','FaceColor',[1 0.8 0.8],'EdgeColor','none');
hold on
plot(x,y,'ro-')

1 个评论

Could you add comments please? I have 1300 x data points (time) and behaviour at these time points (y) for 3 samples. How do I do it for that? I am not able to undertsand the code

请先登录,再进行评论。

更多回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 Line Plots 的更多信息

产品

版本

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by