SnapToDataVertex ineffective in MATLAB2015a
3 次查看(过去 30 天)
显示 更早的评论
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');
2 个评论
dpb
2016-10-6
Don't know and can't test locally, but this looks to me a support question/bug report rather than forum question...use links at www.mathworks.com
Meanwhile, maybe somebody w/ recent version can verify behavior here...
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!