How to select data points in GUI and save it with some score
1 次查看(过去 30 天)
显示 更早的评论
Hi I have a GUI as shown in the figure. I need curser to select multiple points over the image and for each point I need to append some score. Let's say point 1 with 3 and 2 with 5. I added the curser tool but how to extarct and link the score with that point. I will appreciate your help. Thank you
回答(1 个)
Walter Roberson
2016-5-26
I recommend using an ButtonPressFcn callback attached to the image object. The callback would do something like get the CurrentPoint of the axes for the location, and pop up a window that allowed you to input the score.
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!