Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Any way to preserve the native resolution of data when saving a figure?

조회 수: 1 (최근 30일)
JDC
JDC 2017년 10월 12일
마감: Rena Berman 2019년 12월 12일
I've seen many ideas about changing paper size and the adjusting "-r" parameter, but it appears that all this does is take the on-screen displayed resolution and reproduce that at finer resolution. It doesn't get to the issue of saving a figure, whose data resolution is, say 1800x3200, to an image format that preserves that resolution on zoom. Is there any way to force MATLAB to save the figure as an image that would preserve that native high resolution - the way the .fig file would?
  댓글 수: 17
JDC
JDC 2017년 11월 15일
Yet you keep coming back to continue to "edit" your responses. Yes, that's much more polite. And clever too, since the forum doesn't get to see your original less-than-polite responses. So I hope you are in fact done since there are people who have to go back to solving problems with rigor and understanding.

답변 (1개)

Cam Salzberger
Cam Salzberger 2017년 10월 12일
Hello,
It's a little hard for me to understand what you are asking for. You want an image that, when you zoom in on it, it increases its resolution (so you don't see chunky pixels)?
In that case, it sounds like you're looking for vector format images. Any raster format (JPG, PNG, etc.) will have a fixed resolution. When you zoom in, a single data point (pixel) of the image will grow to fit multiple pixels on the screen. A vector format (EPS, PDF, etc.) stores data on the "objects" within the image, rather than the pixels themselves. Thus, when you zoom in on a line, it recalculates what the line should look like on-screen, and will display it smoothly.
See the print documentation page (specifically the section on Vector Graphics Files) for information on your options.
-Cam
  댓글 수: 25
JDC
JDC 2017년 11월 16일
This is unclear. You need to try to explain this again. I can help you if you just make a one line statement of what you are trying to do. Have you tried adjusting the -r parameter?
This is not a meaningful task. Instead of "asks an unclear question" you should write "a question that is unclear". It does not help if the members of the forum agree with you, that there should be something, when they know, that there is one already.
Obviously you care, otherwise you'd stop posting. But you can't because you just can't get that darn print function to work. I know you said it would work but it just doesn't seem to be doing what you said it would do. Try saving at -r15000000, see if that helps.
JDC
JDC 2017년 11월 16일
Also, why do you keep saying HE and HIS. Are you sexist and only allow males to use MATLAB?

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by