saving figure using top bar menu vs using saveas command

1 次查看(过去 30 天)
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 2015-8-6
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

类别

Help CenterFile Exchange 中查找有关 Environment and Settings 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by