Increase Datatip display precision (2014b)
10 次查看(过去 30 天)
显示 更早的评论
It appears that Mathworks has changed the internal architecture of MATLAB sufficiently such that the old method of increasing the Datatip displayed precision (via editing default_getDatatipText.m) is no longer possible. The file and directories no longer exist.
Has anyone been able to accomplish the same result in the new software (2014b, for example)?
Thank you,
采纳的回答
Jan
2016-3-19
Can you use the UpdateFcn of the datacursormode
function txt = myupdatefcn(obj, event_obj)
pos = event_obj.Position;
txt = {sprintf('X: %.16g', pos(1)), sprintf('Y: %.16g', pos(2))};
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Cell Arrays 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!