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
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
how to combine this imge to a single image?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
how to combine ..suggest some code?
3 Kommentare
Rik
am 27 Mär. 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.
Antworten (0)
Diese Frage ist geschlossen.
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!