AXIS_PRUNELABELS takes a figure with a grid of subplots (created using either SUBPLOT or custom AXES commands), and (a) forces all the subplots to have the same axis limits, and (b) turns off axis labels on all the "interior" subplots, thereby reducing the visual clutter.
By default, it operates on both the x- and y-axes, and on the current figure.
This function works with MATLAB 6.5 (R13). Additionally, if LINKAXES is available (MATLAB 7.0), then all the subplot axes linked together.
Gautam Vallabha (2021). Axis_Prunelabels -- clean up redundant axis labels (https://www.mathworks.com/matlabcentral/fileexchange/16115-axis_prunelabels-clean-up-redundant-axis-labels), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!