how to copy value from datacursormode in the axes in GUI MATLAB??
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/161363/image.png)
from the picture i attached here, i done a contourmap from the excel
i am now able to show the "X=11 Y=5 Level=567" by command datacursormode on
but the problem is how i want to take/copy/get their value ???
what i mean is i want get the value "11 5 567" itself
i try using a command like this to display the value at edit6, but it wouldn't work
pos = get(event_obj,'Position');
A=getCursorInfo(num2str(pos(2)),'string');
set(handles.text6,'string',A);
please some1 help my problem.... PLEASEEEE.....
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/161364/image.png)
0 Commenti
Risposte (0)
Vedere anche
Categorie
Scopri di più su Graphics Object Properties 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!