smplot for small multiples
This function behaves like subplot, but sets figure margins to zero and leaves no space between subplots unless requested by the user. This is similar to other submissions on FEX including tight subplot and subaxis. Those are good functions, so be sure to check them out. In reviewing subaxis and tight subplot it looks like they may offer more options for spacing, but this one might be a little simpler to use. Try 'em all and see what works best for you.
The name smplot comes from Edward Tufte's small multiples.
Cite As
Chad Greene (2024). smplot for small multiples (https://www.mathworks.com/matlabcentral/fileexchange/52978-smplot-for-small-multiples), 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
Acknowledgements
Inspired by: Subaxis - Subplot, tight_subplot(Nh, Nw, gap, marg_h, marg_w), Controllable tight subplot, subtightplot
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.
smplot/
smplot/html/
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |