Pixel selection on image in GUI

5 vues (au cours des 30 derniers jours)
Scott Feltman
Scott Feltman le 2 Juin 2020
Modifié(e) : Scott Feltman le 2 Juin 2020
I am trying to extract data from a pixel in an image that is plotted on an axis. I have tried both ginput and gpa, both of which do not work. I believe the problem is caused by the image being plotted with imagesc (it's a colormap, essentially) and that the image essentially covers the axis, so that it never received the input from the mouse click. I have not figured out a solution for this, does anyone have any suggestions or a confirmed solution? Thanks.

Réponse acceptée

Scott Feltman
Scott Feltman le 2 Juin 2020
Modifié(e) : Scott Feltman le 2 Juin 2020
I found another post which answered my exact question. If you are having this issue, please consult this post.
Thank you to the person who answered it.

Plus de réponses (0)

Catégories

En savoir plus sur Red dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by