How to Re-position DataCursormode 'Window'
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Kevin Phung
am 23 Mai 2019
Kommentiert: Kevin Phung
am 29 Mai 2019
So Matlab figures have a datacursormode that either show up as a datatip or a window. I would like to make use of the window but unfortunately every time I turn it on it appears on the bottom right of the figure. Currently I am using a custom UpdateFcn for the datacursormode, and cannot figure out a way to program the window to pop up in a specific position on my figure -- I am wondering if this is possible.
Thanks!
0 Kommentare
Akzeptierte Antwort
Karun Mathiazhagan
am 26 Mai 2019
Hello Kevin,
You could use the "findall" function with the name-value pair 'Tag', 'DataCursorMode:FigurePanel' to obtain the handle to the Data Cursor window. Following this, you could use the property "Position" of the obtained handle to set the desired position.
I hope this helps.
Best,
Karun
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Graphics Object Identification finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!