Change Resolution of Data Cursor

59 Ansichten (letzte 30 Tage)
Albert Garcia
Albert Garcia am 20 Apr. 2019
Kommentiert: Jim Nicholson am 13 Jun. 2021
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.

Akzeptierte Antwort

soon kiat
soon kiat am 19 Mär. 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.
  1 Kommentar
Jim Nicholson
Jim Nicholson am 13 Jun. 2021
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!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by