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?

Respuestas (1)

Adam Danz
Adam Danz el 3 de Oct. de 2018

0 votos

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 comentario

Theodor Al Saify
Theodor Al Saify el 3 de Oct. de 2018
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);

Iniciar sesión para comentar.

Categorías

Más información sobre Images en Centro de ayuda y File Exchange.

Preguntada:

el 3 de Oct. de 2018

Comentada:

el 3 de Oct. de 2018

Community Treasure Hunt

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

Start Hunting!

Translated by