Fill the gap between two lines
显示 更早的评论
Hello,
I'd like to fill the gap between two a curve and a line, but only when the curve is above the line.
This is my actual code:
curve = F(:,2)';
line = 13;
plot(curve,'k');
hold on;
area(x,curve,line,'FaceColor','c','LineWidth',1);
yline(line, '--r',LineWidth=2)
Thankyou for your help!

采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Half-Normal Distribution 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


