Shading the area between the minimum and maximumlimits of my data
Show older comments
Hi all,
Please I need someone to help me shade the minimum and maximum limits of my data.
I tried this code but it didn't work
load('Data1.mat')
T=Data1
T=[aa v Vn Vx]
figure
hold all
%plot(T(:,1),T(:,2),'.-r'); % median
%plot(T(:,1),T(:,3),'.-g'); % min
%plot(T(:,1),T(:,4),'.-k'); %max
x2 = [T(:,1), fliplr(T(:,1))];
idx = [T(:, 4), fliplr(T(:,3))];
fill(x2, inBetween, 'g');
Thank you.
KB

Accepted Answer
More Answers (1)
B
on 18 Mar 2022
0 votes
Categories
Find more on Parametric Spectral Estimation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!