saving figure using top bar menu vs using saveas command
1 view (last 30 days)
Show older comments
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 Comments
Answers (1)
Richa Gupta
on 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
0 Comments
See Also
Categories
Find more on Environment and Settings in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!