Issue with saving the image
4 ビュー (過去 30 日間)
古いコメントを表示
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
0 件のコメント
採用された回答
Voss
2024 年 2 月 15 日
編集済み: Voss
2024 年 2 月 15 日
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
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 件)
参考
カテゴリ
Help Center および File Exchange で Printing and Saving についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!