how to extend the plot with slope of last two points till the boundary. Boundaries can be dictated by peak of adjacent plots
3 ビュー (過去 30 日間)
古いコメントを表示
In the attached figure, curve 1 has to extend till boundary. How can i do that?
3 件のコメント
回答 (1 件)
KALYAN ACHARJYA
2020 年 5 月 6 日
編集済み: KALYAN ACHARJYA
2020 年 5 月 6 日
Multiple way: One option
X1 = linspace(2,3,20);
Y1 = linspace(1/1000, 1,20);
X2 = linspace(14,15,30);
Y2 = linspace(1/10000, 1,30);
loglog([X1(1),X1],[Y2(1),Y1]);
hold on;
loglog(X2,Y2);
grid on;
3 件のコメント
Ameer Hamza
2020 年 5 月 6 日
Meddi, this is a loglog plot. It x-axis and y-axis do not have a zero. Where do you want to connect the 45-degree line on the x-axis?
参考
カテゴリ
Help Center および File Exchange で Annotations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!