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!


