saving figure using top bar menu vs using saveas command

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

Answers (1)

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 MATLAB in Help Center and File Exchange

Products

Tags

Asked:

on 4 Aug 2015

Answered:

on 6 Aug 2015

Community Treasure Hunt

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

Start Hunting!