MATLAB Answers

saving figure using top bar menu vs using saveas command

조회 수: 3(최근 30일)
Gerard Malaczynski
Gerard Malaczynski 4 Aug 2015
답변: Richa Gupta 6 Aug 2015
Original figure saved with top bar menu was saved not corrupted while when using saveas(gdf,'figure name') gets corrupted
MP>>
MP>>

답변(1개)

Richa Gupta
Richa Gupta 6 Aug 2015
Hi Gerard,
There is a difference in the way the SAVEAS function and 'File->Save As' menu item (from within the MATLAB Figure window) export files to the current directory.
The 'File->Save As' menu item uses the HGEXPORT function to export files but with the SAVEAS function one cannot specify the resolution of the exported figure. For more information, you can refer to the following link:
Hope this helps.
Richa

태그

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by