Increase Datatip display precision (2014b)

19 views (last 30 days)
BP on 19 Feb 2015
Answered: Jan on 19 Mar 2016
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,

Accepted Answer

Jan on 19 Mar 2016
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))};

More Answers (0)


Community Treasure Hunt

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

Start Hunting!