I have to shade the area between the two curves, i have used fill function including fliplr, but no success?
1 次查看(过去 30 天)
显示 更早的评论
filename = 'H2_5_20A only.xlsx'; A = xlsread(filename); current = A(:,1); time = A(:,2); h2high = A(:,3); h2low = A(:,4); yyaxis left; plot(time,h2high,'r', time,h2low,'b');
hold on; yyaxis left; fill([time fliplr(time)], [h2low fliplr(h2high)], 'r'); hold off;
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Curve Fitting Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!