Axis_Prunelabels -- clean up redundant axis labels
Editor's Note: This was a File Exchange Pick of the Week
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.
Cite As
Gautam Vallabha (2024). 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 Compatibility
Windows macOS LinuxCategories
- MATLAB > Graphics > Formatting and Annotation > Labels and Annotations > Axis Labels >
- MATLAB > Graphics > Formatting and Annotation > Axes Appearance > Combine Multiple Plots > Subplots >
Tags
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.