MATLAB Answers

Change Resolution of Data Cursor

28 views (last 30 days)
Albert Garcia
Albert Garcia on 20 Apr 2019
Answered: soon kiat on 19 Mar 2020
I am sampling data at a rate of 100kHz, so I need the data cursor to allow me to view data down to 5 digits after the decimal rather than the default of 4 digits after the decimal. I have 40+ graphs and I want to know if there is a universal way of doing this.

  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(in your case is 5).
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 (0)


Translated by