Data cursor precision in matlab

Tired of changing the data cursor display precision? You could change it permanently if you have a copy of Matlab on your local machine (i.e. it’s not a server version Matlab).

Locate file: default_getDatatipText.m

in the directory:

\toolbox\matlab\graphics\@graphics\@datacursor

change the line defining number of display digits to higher:

DEFAULT_DIGITS = N;  % Display N digits of x,y position as you wish

Save the update, quit the current Matlab instance, restart, done!

One thought on “Data cursor precision in matlab

Leave a Reply

Your email address will not be published. Required fields are marked *