subtitle fix for the tightfig function from Richard Crozier ('Remove excess margins from figures.)
Updated 19 Aug 2021

View License

Added some modifications to the code by https://en.mathworks.com/matlabcentral/fileexchange/34055-tightfig-hfig
which is an amazing function that I have been using for years. The function 'sgtitle' introduced in R2018b is not covered with this function. This contribution fixes this.

Cite As

Chris Verhoek (2024). tightfig (https://www.mathworks.com/matlabcentral/fileexchange/97914-tightfig), MATLAB Central File Exchange. Retrieved .

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

Inspired by: tightfig(hfig)

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes