Problem in saving figure
조회 수: 1 (최근 30일)
이전 댓글 표시
hgexport(gcf, 'figure1.jpg', hgexport('factorystyle'), 'Format', 'jpeg');
By using above function I am saving figure which is shown below:

But I want to save it as shown below: (with outer white portion of image)

How can I do so?
댓글 수: 2
Walter Roberson
2014년 2월 11일
Sorry, you do or you do not want the white part with the numbers and ticks?
채택된 답변
Mischa Kim
2014년 2월 11일
댓글 수: 5
Mischa Kim
2014년 2월 11일
Just use the export command you have been using:
hgexport(gcf, 'figure1.jpg', hgexport('factorystyle'), 'Format', 'jpeg');
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!