chane .fig extension to .jpg

조회 수: 2 (최근 30일)
Navjot Kaur
Navjot Kaur 2019년 10월 28일
편집: Matt J 2019년 10월 28일
Hello,
How to change figures with extension .fig to .jpg extension which are stored outside of Matlab??
  댓글 수: 2
Adam
Adam 2019년 10월 28일
편집: Adam 2019년 10월 28일
.fig is an actual Matlab figure, including menus, toolbars, axes, uicomponents, etc. it isn't an image. I doubt there is a way to simply convert it to a .jpg file. I'm not sure what you would expect from it even if you could. Just open it in Matlab and take a screenshot of the figure if you want it as an image.
Ken Atwell
Ken Atwell 2019년 10월 28일
I generally would not take a screenshot -- that will preserve the gray background color, etc. Instead, I would open the .fig file in MATLAB and File->Save As. Then, change the "Format" to one of a dozen or more supported file formats.

댓글을 달려면 로그인하십시오.

답변 (1개)

Matt J
Matt J 2019년 10월 28일
편집: Matt J 2019년 10월 28일
saveas(fighandle,'filename.jpg')

카테고리

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