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
Questa domanda è chiusa. Riaprila per modificarla o per rispondere.
how to combine this imge to a single image?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
how to combine ..suggest some code?
3 Commenti
Rik
il 27 Mar 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.
Risposte (0)
Questa domanda è chiusa.
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!