How to convert .fig to .jpg ? (issues with 'saveas' function)

4 次查看(过去 30 天)
I tried 'saveas' function but it reduces the quality of the image(meaning, i do not want to have white borders around the image.I want to get the full image after the conversion.
Here is the code i used:
h=openfig('pic-1.fig');
saveas(h,'pic1.jpg')
Can you please tell me how to get around with this?
Really appreciate your feedback.
  2 个评论
Chathu
Chathu 2015-3-9
Hi Stephen- Thank you so much for directing me to the right direction. It works really well. (plus thank you so much for your wonderful code-Yair Altman) Really appreciate it.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Printing and Saving 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by