Change Resolution of Data Cursor

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

采纳的回答

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(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.
  1 个评论
Jim Nicholson
Jim Nicholson 2021-6-13
I find four digit resolution consistently inadequate, and don't wish to repeat the recommended procedure everytime I run Matlab. How to make a permanent change to datatip resolution? That's the question!

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by