fixticks is a function to correct that MATLAB as a default does not show the same significant digits on axes as trailing zeros after the decimal point are not displayed.
Fixticks automates the number of decimals to the highest number of decimals displayed on the axis.
Some of the functionality can be obtained using xtickformat but that requires a manual input and will not change the format on zooming.
Cite As
Johannes Hougaard (2024). fixticks (https://www.mathworks.com/matlabcentral/fileexchange/95788-fixticks), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2021a
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0 |