Get rid of the white margin in saveas output

バージョン (1.81 KB) 作成者: E Akbas
MATLAB's saveas pads your figure with a white margin. This m-file is prevents that.

ダウンロード: 4.4K

更新 2014/6/27


This m-file is an alternative to built-in saveas command. It saves your figure without the white box/margin around it.


E Akbas (2023). Get rid of the white margin in saveas output (, MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2010b
Windows macOS Linux
Help Center および MATLAB AnswersPrinting and Saving についてさらに検索

ヒントを与えたファイル: tightfig(hfig)

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート

Bugfix: an error was being produced when figure handle was given as input.

Outside legends were not handled correctly. Fixed.

Abbreviated author name in the license file.

Edited author's name in the m-file.

Updated the code to handle multiple axes within a figure, like subplots, colorbars.