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

16 次查看(过去 30 天)
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

采纳的回答

soon kiat
soon kiat 2020-3-19
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.

更多回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Data Import and Export 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by