Increase Datatip display precision (2014b)

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,

 Réponse acceptée

Jan
Jan le 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))};

Plus de réponses (0)

Catégories

En savoir plus sur App Building dans Centre d'aide et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by