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
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
how to combine this imge to a single image?
조회 수: 1 (최근 30일)
이전 댓글 표시
how to combine ..suggest some code?
댓글 수: 3
Rik
2018년 3월 27일
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.
답변 (0개)
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!