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

 Risposta accettata

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 Commento

AAS
AAS il 11 Mar 2022
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

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Images in Centro assistenza e File Exchange

Prodotti

Release

R2020b

Richiesto:

AAS
il 10 Mar 2022

Commentato:

AAS
il 11 Mar 2022

Community Treasure Hunt

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

Start Hunting!

Translated by