get handle of subplot?
이전 댓글 표시
After I subplot, how can I get the Position property of the current axis so I can adjust it?
채택된 답변
추가 답변 (1개)
Walter Roberson
2011년 9월 26일
get(gca,'Position')
Be careful, though: if you adjust the position such that it would overlap the normal position of a subplot that you subplot() later, then MATLAB will detect the overlap and will remove the plot being overlapped. It may be advised to subplot() all of the portions first, recording the handles, and then to go through the saved handles and reposition or resize as desired.
카테고리
도움말 센터 및 File Exchange에서 Subplots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!