Clear Filters
Clear Filters

how to increase the range of measurement of data cursor in a plot?

16 views (last 30 days)
I want to measure time in the range of microseconds.how to increase the range of measurement of data cursor in a plot? The data cursor shows data up to 4 decimal places. How can I increase it to 6 or 7 decimal places. Please Help

Accepted Answer

soon kiat
soon kiat on 19 Mar 2020
Right click on the data tip and select 'Edit Text Update Functions...'
Then, callback editor will pop up as shown in figure below:
Edit the highlighted text as shown in figure above as the number of digits you wish to show on data tip.
Then, click on file tab and click 'save as...' to the directory you wish. Close the callback editor window.
Finally, Right click on the data tip and click on 'Select Text Update Functions...' and go to the directory you save your file just now and double click on the .m file you save.

More Answers (1)

José-Luis
José-Luis on 7 Jun 2016
Edited: José-Luis on 7 Jun 2016
Just modify to your heart's content. Hint: use sprintf() instead of num2str()

Categories

Find more on Data Import and Export in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!