Figures stretch when saved as image
13 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Jon Terry
el 27 de Nov. de 2017
Comentada: Matt J
el 28 de Nov. de 2017
I have the following figure (.fig file, shown on the left), which I want to save as an image file type. When I save it as a jpeg, the image is stretched (shown on the right). I've tried saving it as a pdf, eps, jpeg, and png, and they all stretch. With a previous version of Matlab, the image file would have the same dimensions as the .fig file. How can I fix this? I'm using Matlab 2017a.
Edit: I didn't have this problem in a previous version (2015, I believe) of Matlab.

2 comentarios
Respuesta aceptada
Matt J
el 28 de Nov. de 2017
You might try the export_fig submission, which will let you export images faithfully to the appearance of the figure on the screen.
2 comentarios
Matt J
el 28 de Nov. de 2017
I can't account for your experience with previous versions. The reason for the existence of export_fig is that the image conversion has always been unreliable.
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!