Plotting mean time trends

3 次查看(过去 30 天)
AAS
AAS 2022-3-10
评论: AAS 2022-3-11
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

采纳的回答

yanqi liu
yanqi liu 2022-3-11
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 个评论
AAS
AAS 2022-3-11
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 个)

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by