I want to save it to my folder and used the following function
saveas(f,'Figure_001','bmp')
The issue with this line of code is that I want to see bigger image but this function saving samll image. Is there a way to save image with higher dimensions? I am attaching the picture in the way I want to see and what I got in the .zip file

 채택된 답변

Voss
Voss 2024년 2월 15일
편집: Voss 2024년 2월 15일

0 개 추천

You might try making the figure larger before saving, e.g.:
f.WindowState = 'Maximized';
saveas(f,'Figure_001','bmp')
and/or you can use exportgraphics, and see if that gives you a better result than saveas does (however, exportgraphics does not appear to support bmp format).

댓글 수: 1

Image Analyst
Image Analyst 2024년 2월 15일
If there are graphics in the overlay you can save the figure, but if there are no graphics in the overlay and it's just purely an image then you should use imwrite instead.

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Printing and Saving에 대해 자세히 알아보기

제품

릴리스

R2020a

질문:

2024년 2월 15일

댓글:

2024년 2월 15일

Community Treasure Hunt

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

Start Hunting!

Translated by