tightFig

Version 1.0.0 (2.12 KB) by Kim Dohyun
resizes figure so that its children fit tightly
203 Downloads
Updated 11 Dec 2019

View License

tightFig resizes a figure to reduce empty space.
tightFig(fig) resizes the given figure.
tightFig(_, margin) sets a custom margin after tightening with default value 0.05. Treated as a ratio if it is less than 1.

Resizing or drawing new things on the figure after using tightFig is not recommended.

Cite As

Kim Dohyun (2024). tightFig (https://www.mathworks.com/matlabcentral/fileexchange/73644-tightfig), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2019b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Migrate GUIDE Apps in Help Center and MATLAB Answers

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