Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

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

1 vue (au cours des 30 derniers jours)
Abdurrehman
Abdurrehman le 18 Fév 2018
Clôturé : MATLAB Answer Bot le 20 Août 2021
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...

Réponses (1)

Walter Roberson
Walter Roberson le 18 Fév 2018

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by