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
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/147714/image.bmp)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/147721/image.bmp)
MP>>
MP>>
0 个评论
回答(1 个)
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
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Environment and Settings 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!