Problem in saving figure
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Explorer
am 11 Feb. 2014
Kommentiert: Explorer
am 11 Feb. 2014
hgexport(gcf, 'figure1.jpg', hgexport('factorystyle'), 'Format', 'jpeg');
By using above function I am saving figure which is shown below:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/156492/image.png)
But I want to save it as shown below: (with outer white portion of image)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/156494/image.png)
How can I do so?
2 Kommentare
Walter Roberson
am 11 Feb. 2014
Sorry, you do or you do not want the white part with the numbers and ticks?
Akzeptierte Antwort
Mischa Kim
am 11 Feb. 2014
5 Kommentare
Mischa Kim
am 11 Feb. 2014
Just use the export command you have been using:
hgexport(gcf, 'figure1.jpg', hgexport('factorystyle'), 'Format', 'jpeg');
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Subplots finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!