Get rid of the white margin in saveas output

版本 1.6.0.0 (1.8 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 (2024). Get rid of the white margin in saveas output (https://www.mathworks.com/matlabcentral/fileexchange/34024-get-rid-of-the-white-margin-in-saveas-output), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2010b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Printing and Saving 的更多信息
致谢

启发作品: tightfig(hfig)

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.6.0.0

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

1.5.0.0

Outside legends were not handled correctly. Fixed.

1.4.0.0

Abbreviated author name in the license file.

1.3.0.0

Edited author's name in the m-file.

1.2.0.0

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

1.0.0.0