Note: As of MATLAB® R2006b, the ZOOM, PAN, and ROTATE3D functions can return an object with properties that provide the functionality (and more) that this submission provides. See the documentation for details. I recommend using those supported MATLAB® features before considering this submission.
By default, when you set ticklabels manually and zoom around the AXES, the ticklabels do not update automatically. They must be subsequently reset as desired. But with ZOOMFIXTICKS, this updating occurs automatically and seemlessly. The user of the function can create their own FIXTICKS function, which is called by ZOOMFIXTICKS. This is described in more detail in the help of the file in this submission.
This tool is especially useful when you want to override MATLAB's default format of the ticklabels.
Greg Aloe (2021). zoomfixticks (https://www.mathworks.com/matlabcentral/fileexchange/2090-zoomfixticks), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Inspired: correct tick label
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!