Save image without the white margin
3 ビュー (過去 30 日間)
古いコメントを表示
Hi, Please I want to use the HGEXPORT function as shown:
hgexport(gcf, 'figure1.jpg', ...
hgexport('factorystyle'), 'Format', 'jpeg');
hgexport(gcf, 'L2w.jpg', hgexport('factorystyle'), 'Format', 'jpeg');
But, I dont need the white margin around the image.
0 件のコメント
回答 (1 件)
Chad Greene
2015 年 1 月 21 日
There are many solutions. The best standby solution is to (almost) always use export_fig. It crops the white space by default unless you specify the -nocrop option.
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!