Limiting the extent of the crop using export_fig
조회 수: 1 (최근 30일)
이전 댓글 표시
I'm using export_fig with the following command (both options are necessary for me):
export_fig('png','opengl',<filename>)
The program is great but it crops the figure so that the boundary of the png file touches the title and labels text, as the example illustrates. Is there a way to modify the crop so that it leaves a little bit of space around the title and the labels? Thanks.
댓글 수: 0
채택된 답변
추가 답변 (1개)
Image Analyst
2016년 12월 31일
You might have to read it in as an image, then use padarray() or regular assignment to pad the edges. Then save it back out. Unless export_fig() has such a padding option already.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Axis Labels에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!