how to plot points in plotted graph?

조회 수: 2 (최근 30일)
Engineer Batoor khan mummand
Engineer Batoor khan mummand 2020년 11월 21일
댓글: Star Strider 2020년 11월 21일
hi to all:
i wan to plot these two series of data and after plot i want to show each point value in plotted graphs.
I=[116 207 414 611 909 1009 951 909 805 615 311 120];
Ta=[29.164 30.256 31.186 32.237 33.127 34.137 35.148 37.129 36.119 35.148 34.137 33.127];
thanks

채택된 답변

Star Strider
Star Strider 2020년 11월 21일
I have absolutely no idea how you want them plotted.
Try this:
I=[116 207 414 611 909 1009 951 909 805 615 311 120];
Ta=[29.164 30.256 31.186 32.237 33.127 34.137 35.148 37.129 36.119 35.148 34.137 33.127];
figure
plot(I, Ta, '-p')
grid
txtc = sprintfc('\\leftarrow(%g, %g)', [I; Ta].');
text(I, Ta, txtc, 'HorizontalAlignment','left', 'VerticalAlignment','middle', 'FontSize',8)
This should provide everything you need in the event that you want a different sort of plot.
Make appropriate changes to get the result you want.
  댓글 수: 4
Engineer Batoor khan mummand
Engineer Batoor khan mummand 2020년 11월 21일
thank you so musch dear.
Star Strider
Star Strider 2020년 11월 21일
As always, my pleasure!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Annotations에 대해 자세히 알아보기

제품


릴리스

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by