Save image without the white margin
조회 수: 13 (최근 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.
참고 항목
카테고리
Help Center 및 File Exchange에서 Debugging and Analysis에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!