Multipanel Figure Tools
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
Platform Compatibility
Windows macOS LinuxCategories
- 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.
multipanelFigureTools/
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |