SnapToDataVertex ineffective in MATLAB2015a
4 views (last 30 days)
Show older comments
dear all,
the parameter SnapToDataVertex of a datacursormode object does not seem to be effective in 2015a when using image(), although it had been in 2012a. Thus, in the figure it appears to be "on", even it had been switched off. The datacursors snap to the nearest data value and is not located at the actual pointer position.
Is this a bug, or is there a good reason for that ? Thanks a lot!
Kind regards, Philipp
dcm_obj = datacursormode(fig_handle);
set(dcm_obj,'DisplayStyle','window',...
'SnapToDataVertex','off','Enable','on');
Answers (0)
See Also
Categories
Find more on Programming Utilities in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!