image thumbnail

Axis_Prunelabels -- clean up redundant axis labels

version 1.0.0.1 (2.27 KB) by Gautam Vallabha
Minimizes redundant axis labels in a grid of subplots

2.1K Downloads

Updated 01 Sep 2016

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 (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
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!