How can I specify the significant digits in a tick label?

4 views (last 30 days)
I would like to be able to specify how many significant digits I want to appear on my tick labels.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 20 Feb 2023
Edited: MathWorks Support Team on 30 Apr 2023
The Matlab Central file extendticklabel.m extends the number of significant figures for axes tick labels. This file can be found by searching for 'extendticklabel' in the MATLAB Central website: https://www.mathworks.com/matlabcentral/
Note that MathWorks does not control the content posted by visitors to MATLAB Central, and does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will MathWorks be liable in any way for any content not authored by MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted, or otherwise made available via MATLAB Central.

More Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!