MATLAB Answers

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

105 views (last 30 days)
sayan chakraborty
sayan chakraborty on 7 Jun 2016
Answered: soon kiat on 19 Mar 2020
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

  0 Comments

Sign in to comment.

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.

  0 Comments

Sign in to comment.

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()

  1 Comment

sayan chakraborty
sayan chakraborty on 7 Jun 2016
I am using simplot to plot the data collected from scope. Any help in that?

Sign in to comment.


Translated by