saving figure using top bar menu vs using saveas command

3 views (last 30 days)
Original figure saved with top bar menu was saved not corrupted while when using saveas(gdf,'figure name') gets corrupted
MP>>
MP>>

Answers (1)

Richa Gupta
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

Categories

Find more on Printing and Saving in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!