Problem with saveas function
2 views (last 30 days)
Show older comments
Hi, I have a couple of questions about the function saveas. If I save an image using the saveas function the image is traslated, on the contrary using the saveas provided by GUI interface the image is correct. Why is the saveas used in the code different from that provided by the GUI? Moreover, why does it seem that the GUI saveas function takes a screenshot??
Thank you in advance. Sincerely, Andrea
0 Comments
Answers (1)
Stephen Jue
on 22 Jun 2017
Hi Andrea,
If I understand correctly, you are using "saveas" on a figure handle to save an image. When you do this, the image is translated. However, when you use the GUI interface (File > Save As...), the image is saved properly. Is this correct?
I am not able to reproduce this behavior. Could you please provide the code you are using to save the figure, and the steps you are taking in the GUI to save it?
Note that by default, "saveas" will save a figure handle as a FIG file. However, the GUI can save a figure as many different types, including JPEG and PNG.
0 Comments
See Also
Categories
Find more on Printing and Saving in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!