![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/577602/image.gif)
Crusor position without click relative to axis
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Dear all, I want to get the position of crusor in an Axes without clicking on it. How can I do this ?
with :
C = get (gca, 'CurrentPoint');
disp(C);
it works only if i click on the figure
and with :
C= get(0,'PointerLocation');
i get the position relative to all the screen and not the axes. How i can solve it?
0 Commenti
Vedere anche
Categorie
Scopri di più su Annotations in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!