saveboxtight( fhandle,filename )

removing white space from matlab figure
28 Downloads
Updated 19 Dec 2017

View License

A small function to remove white space outside the plot area from matlab figure handle. The program was made to save jpg files and therefore some specific settings were made for good quality jpg files. Users can extend it to save files in other formats.

Cite As

vihang bhatt (2025). saveboxtight( fhandle,filename ) (https://se.mathworks.com/matlabcentral/fileexchange/65456-saveboxtight-fhandle-filename), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2017a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Interactive Control and Callbacks 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.0