how to display text at specific location in graph?

조회 수: 3 (최근 30일)
msahar
msahar 2014년 5월 14일
댓글: msahar 2014년 5월 14일
two lines are intersecting in graph below. I know the value at the intersection point. so how I plot these line so that the value of intersection appear automatically in the graph. I mean by using text() or ginput() or using some similar commands. for example at x=2 and y=27, how can I show in this format (2,27). (in graph I manualy put bracket and wrote value in it using paint
. Thank you

채택된 답변

Walter Roberson
Walter Roberson 2014년 5월 14일
text(x, y, sprintf('(%f,%f)', x, y))

추가 답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by