이 제출물을 팔로우합니다
- 팔로우하는 게시물 피드에서 업데이트를 확인할 수 있습니다
- 정보 수신 기본 설정에 따라 이메일을 받을 수 있습니다
When the XTick labels are long numbers that overlap, making them hard to read or distinguish from one another, you may need to use XTICKLABEL_ROTATE90 in order to orient the tick labels vertically rather than horizontally.
Example 1: Set the positions of the XTicks and rotate them.
figure;
plot([1960:2004],randn(45,1));
xlim([1960 2004]);
xticklabel_rotate90([1960:2:2004]);
%Set "Property-value" pairs
xticklabel_rotate90([1960:2:2004],'Color','m');
Example 2: Rotate XTickLabels at their current position
XTick = get(gca,'XTick');
xticklabel_rotate90(XTick);
인용 양식
Denis Gilbert (2026). XTICKLABEL_ROTATE90 (https://kr.mathworks.com/matlabcentral/fileexchange/3150-xticklabel_rotate90), MATLAB Central File Exchange. 검색 날짜: .
| 버전 | 퍼블리시됨 | 릴리스 정보 | Action |
|---|---|---|---|
| 1.0.0.0 | 1) Fontsize is now set equal to the default axes fontsize. 2) Vectorization of text command 3) Now allows for the specification of text property-value pairs, as suggested by Urs Schwarz. |
