If each element has the same size you don't even need to resize before you concatenate the parts and use imwrite. In a pinch you could also adjust the positions of the subplot, so that their edges touch, followed by saveas.
Info
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
how to combine this imge to a single image?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/171582/image.png)
how to combine ..suggest some code?
3 comentarios
Rik
el 27 de Mzo. de 2018
You really shouldn't do that if the image parts are the same size.
But if you insist: first get the handle to every subplot axes object (just save the output of subplot in an array), and set the Units property to Normalized. Then it is trivial to set the Position property to increasing fractions. Make sure your figure has the same aspect ratio as your image parts and you are ready to use saveas.
Respuestas (0)
La pregunta está cerrada.
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!