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?

Réponses (1)

Star Strider
Star Strider le 8 Jan 2020

0 votes

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 commentaires

Uwe Claußnitzer
Uwe Claußnitzer le 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 le 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 le 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 le 8 Jan 2020
I have no idea what the solution is to whatever problem you are having.
Uwe Claußnitzer
Uwe Claußnitzer le 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').

Connectez-vous pour commenter.

Catégories

En savoir plus sur Data Exploration dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by