Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

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

1 visualización (últimos 30 días)
JDC
JDC el 12 de Oct. de 2017
Cerrada: Rena Berman el 12 de Dic. de 2019
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 comentarios
JDC
JDC el 15 de Nov. de 2017
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.

Respuestas (1)

Cam Salzberger
Cam Salzberger el 12 de Oct. de 2017
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 comentarios
JDC
JDC el 16 de Nov. de 2017
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 el 16 de Nov. de 2017
Also, why do you keep saying HE and HIS. Are you sexist and only allow males to use MATLAB?

La pregunta está cerrada.

Community Treasure Hunt

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

Start Hunting!

Translated by