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

Rub Ron
Rub Ron 2020년 5월 22일
Hi, could you find a solution for this?

댓글을 달려면 로그인하십시오.

답변 (1개)

Star Strider
Star Strider 2020년 1월 8일

0 개 추천

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

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

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Convert Image Type에 대해 자세히 알아보기

질문:

2020년 1월 8일

댓글:

2020년 5월 22일

Community Treasure Hunt

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

Start Hunting!

Translated by