Change Resolution of Data Cursor

61 visualizzazioni (ultimi 30 giorni)
Albert Garcia
Albert Garcia il 20 Apr 2019
Commentato: Jim Nicholson il 13 Giu 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.

Risposta accettata

soon kiat
soon kiat il 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.
  1 Commento
Jim Nicholson
Jim Nicholson il 13 Giu 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!

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Startup and Shutdown in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by