How to have labels stick to axis?
조회 수: 14 (최근 30일)
이전 댓글 표시
On 3D kind of graphics, the labels are horizontal, like attached.
Is it possible to make the labels rotated parallel to axis?
Thanks.
댓글 수: 0
답변 (1개)
dpb
2016년 11월 29일
편집: dpb
2016년 12월 1일
xlabel('X Label','rotation', 30)
zlabel('Z Label','rotation',-30)
Look at the Text Properties section for details of all available properties.
ADDENDUM
Re: topic of making "stick" with axes, that's a toughie I think....not sure how to even determine the actual angle of the axes projection--I presume is related to the 'CameraPositionX' values, but there's nothing builtin from which one can retrieve the angle needed to make the labels precisely parallel with the axes as rendered and certainly not dynamically.
This would be good enhancement-request fodder methinks...
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Axis Labels에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!