The location of label of data cursor
3 views (last 30 days)
Show older comments
Is it possible to change the location of the data cursor programmatically? Such as 'southwest' or 'northeast'? For example 'southwest'

and 'northeast'

0 Comments
Answers (1)
Robert U
on 9 Jul 2018
Edited: Robert U
on 9 Jul 2018
Hi Victor Lam:
Position of datatip seems to be able to be changed. See example:
[...]
% Set the data-tip orientation to top-right rather than auto
set(hDatatip,'OrientationMode','manual');
set(hDatatip,'Orientation','top-right');
[...]
I did not test it in newer versions of Matlab.
Kind regards,
Robert
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!