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

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

 Risposta accettata

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.

Più risposte (1)

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

1 Commento

I am using simplot to plot the data collected from scope. Any help in that?

Accedi per commentare.

Community Treasure Hunt

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

Start Hunting!

Translated by