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
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 个)

类别

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

产品

Community Treasure Hunt

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

Start Hunting!

Translated by