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,

 Akzeptierte Antwort

Jan
Jan am 19 Mär. 2016

2 Stimmen

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

Weitere Antworten (0)

Kategorien

Mehr zu App Building finden Sie in Hilfe-Center und File Exchange

Produkte

Gefragt:

BP
am 19 Feb. 2015

Beantwortet:

Jan
am 19 Mär. 2016

Community Treasure Hunt

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

Start Hunting!

Translated by