Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

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

조회 수: 1 (최근 30일)
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