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

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...

This question is closed.

Asked:

on 18 Feb 2018

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!