Change Resolution of Data Cursor

50 vues (au cours des 30 derniers jours)
Albert Garcia
Albert Garcia le 20 Avr 2019
Commenté : Jim Nicholson le 13 Juin 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.

Réponse acceptée

soon kiat
soon kiat le 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 commentaire
Jim Nicholson
Jim Nicholson le 13 Juin 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!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by