SnapToDataVertex ineffective in MATLAB2015a

1 次查看(过去 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
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...
Philipp
Philipp 2016-10-7
Thanks for this comment, I have written a service request on that issue. Best, Philipp

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Downloads 的更多信息

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by