Axis_Prunelabels -- clean up redundant axis labels

Minimizes redundant axis labels in a grid of subplots


Updated Thu, 01 Sep 2016 15:07:08 +0000

View License

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 (2023). Axis_Prunelabels -- clean up redundant axis labels (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R13
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes

Updated license