Info

この質問は閉じられています。 編集または回答するには再度開いてください。

How can I create a legend on the interception of 2 lines on a plot with its coordinates?

1 回表示 (過去 30 日間)
Diego Dranuta
Diego Dranuta 2019 年 9 月 14 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
I have this code so far, I want to get the interceptions of plot(CrankAngle1,n1) and plot(xl(:)*[1 1], [1;1]*[0.5 0.9], '--r').
Any suggestions?
figure(1)
plot(CrankAngle1,n1)
hold on
xl = xlim;
plot(xl(:)*[1 1], [1;1]*[0.5 0.9], '--r')
hold off
title('Wiebe heat release fraction curve for n=1')
xlabel('Angle')
ylabel('Xb')
grid

回答 (0 件)

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by