Set the width of a subplot & leave all else unchanged
조회 수: 37 (최근 30일)
이전 댓글 표시
I have code that generates the following figure with subplots:
I'd like to reduce the width of each subplot and leave more room to the subplotTitles at the left. Resizing the entire figure window doesn't work, as everything is resized proportionately. If I use the EditPlot tool, I can manually reduce the width of the subplot using the mouse:
and then manually move the subplotTitle to the left, bringing me to my desired figure layout:
However, I'd like to do this with code. I know from here that the [x,y,width,height] of the entire axes handle can be specified; however, I don't want to override the automatically-computed y position and height - I only want to reduce the width.
Can I somehow only scale the width param of each subplot, while leaving all others unchanged?
댓글 수: 0
채택된 답변
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Subplots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!