Select a specific line in a figure

Hello, after implementing the object matching feature i get the figure attached. Is there a way to select a line using the mouse and get coordinate x and y of the end points?

답변 (1개)

Adam Danz
Adam Danz 2018년 10월 3일

0 개 추천

If your data is plotted in a matlab figure, you can activate the Data Cursor tool and then click on coordinates in your plot to display their values. Is that what you want to do?

댓글 수: 1

Theodor Al Saify
Theodor Al Saify 2018년 10월 3일
in the image i attached, i want to click a line and get the coordinate of it end points. the lines are drawn using this function : figure; l = showMatchedFeatures(boxImage,TransBoxImage,matchedPoints1,matchedPoints2);

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

카테고리

도움말 센터File Exchange에서 Images에 대해 자세히 알아보기

질문:

2018년 10월 3일

댓글:

2018년 10월 3일

Community Treasure Hunt

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

Start Hunting!

Translated by