Info

This question is closed. Reopen it to edit or answer.

How to get unique identifier of a specific axis with mouse click

1 view (last 30 days)
Hi, I have placed 15 axes on a figure; each axis contains a graph, in order to perform operations I need to get unique ID of a graph when clicked with the mouse. Currently, this operation is done with Position property. I click with the mouse and read the position of axis for performing an operation. But this solution is screen dependant because the position of the axis will be different at different screen size. Is it possible to get the unique info that which axis is clicked with a mouse? Please help...

Answers (1)

Walter Roberson
Walter Roberson on 18 Feb 2018

Community Treasure Hunt

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

Start Hunting!