Saving a figure with details

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?

1 Comment

Hi, could you find a solution for this?

Sign in to comment.

Answers (1)

Star Strider
Star Strider on 8 Jan 2020
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 Comments

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.
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.
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.
I have no idea what the solution is to whatever problem you are having.
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').

Sign in to comment.

Categories

Asked:

on 8 Jan 2020

Commented:

on 22 May 2020

Community Treasure Hunt

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

Start Hunting!