Is there a way to handle the writing labels of axes coordinate (The writing is not in a straight line with respect to the axes. I would like to modify that.)?
조회 수: 1 (최근 30일)
이전 댓글 표시
답변 (1개)
Chunru
2022년 7월 4일
[X, Y, Z] = peaks(40);
figure
surf(X, Y, Z)
xlabel('This is XLabel');
ylabel('This is YLabel');
h =gca;
% use the following to change the xlabel and ylabel orientation
h.XAxis.Label.Rotation = 13;
h.YAxis.Label.Rotation = -28;
댓글 수: 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!