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!