I created a large figure and want to save/export it to an image file. Unfortunately when I zoom into the image, all the details of the original figure are lost. What can I do?

Antworten (1)

Star Strider
Star Strider am 8 Jan. 2020

0 Stimmen

I am not certain what you are asking, so I am assuming you have created a plot of some sort and want to work with it later.
I would use the savefig function to save it as a .fig file first. You can then use the openfig function load it and then zoom and create .png (or other format) files from it as you wish. The original information will always be in the .fig file.

5 Kommentare

Uwe Claußnitzer
Uwe Claußnitzer am 8 Jan. 2020
There are details in the figure, which I get when I zoom into it. But I don't get those details, when I zoom into the image file - that's what I want to get changed.
Star Strider
Star Strider am 8 Jan. 2020
If you save the figure as a .fig file, you can load it and then zoom in to the loaded image to then do whatever you want with it. All the details and data will still be there.
Uwe Claußnitzer
Uwe Claußnitzer am 8 Jan. 2020
I know, but I want to print it as an image. My intention is that, using a magnifier, you can see all those details I could see, when I zoomed in in the original figure. I tried to change resolution, Papertype, figure size, but none of those worked so far.
Star Strider
Star Strider am 8 Jan. 2020
I have no idea what the solution is to whatever problem you are having.
Uwe Claußnitzer
Uwe Claußnitzer am 8 Jan. 2020
I attached the fig-file (example.fig). example1.png shows the corresponding image, example2.png an image, when you zoom in the fig-file. I want to create an image, that shows the whole figure (like example1.png), and ALSO shows all the details, when I zoom in (like example2.png). I created both images with print('example...','-dpng').

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Convert Image Type finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 8 Jan. 2020

Kommentiert:

am 22 Mai 2020

Community Treasure Hunt

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

Start Hunting!

Translated by