Select a specific line in a figure

9 次查看(过去 30 天)
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
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);

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Images 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by