Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
How do I get the position of a single axis on a 3-dimensional plot?
조회 수: 2 (최근 30일)
이전 댓글 표시
I am trying to set the position of a colorbar so that it has the same vertical position and height of the vertical axis on my 3-dimensional plot. I can't use get(gca,'pos'), because that returns the position and height of the entire plot area, which is different from the position and height of the vertical axis because it's a 3-dimensional view, as you can see in the screenshot below.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/151368/image.png)
In that image, the vertical position and height of the colorbar are set using get(gca,'pos'). How do I get the position and height of just the vertical axis, and not the entire plot area?
댓글 수: 0
답변 (0개)
이 질문은 마감되었습니다.
참고 항목
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!