fixticks

Fix number of decimals on axes
2 Downloads
Updated 13 Jul 2021

View License

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 Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0