Filter löschen
Filter löschen

Issue with saving the image

2 Ansichten (letzte 30 Tage)
Rohit Thokala
Rohit Thokala am 15 Feb. 2024
Kommentiert: Image Analyst am 15 Feb. 2024
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

Akzeptierte Antwort

Voss
Voss am 15 Feb. 2024
Bearbeitet: Voss am 15 Feb. 2024
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 Kommentar
Image Analyst
Image Analyst am 15 Feb. 2024
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.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Printing and Saving finden Sie in Help Center und File Exchange

Produkte


Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by