Multipanel Figure Tools

Functions for making multipanel figures (i.e. subplots) with legends and colorbars.
400 Downloads
Updated 25 Jun 2014

View License

For people who need to make journal-quality figures with multiple plots, legends, and colorbars, these functions provide a convenient, flexible alternative to Matlab's built-in subplot, colorbar, and legend functions.

smartsubplot.m is similar to subplot, but lets the user define the margins of the subplot grid and axes explicitly, in the figure units. subplotColorbar.m and subplotLegend.m replace an empty axes with a colorbar or legend, useful if one colorbar or legend is desired for multiple plots.

These are simple functions, which are little more than calls to axes, legend, and colorbar with slightly more convenient inputs. See the documentation and included test script (multipanelTestScript.m) for tips on their implementation.

Cite As

Michael Schwendeman (2024). Multipanel Figure Tools (https://www.mathworks.com/matlabcentral/fileexchange/47056-multipanel-figure-tools), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2014a
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
1.0.0.0