Rotate and alternate tick labels on any Xaxis (top or bottom)

版本 1.1.0.0 (1.7 KB) 作者: Fanny Besem
Rotate tick labels and alternate them for reading clarity
752.0 次下载
更新时间 2011/7/5

查看许可证

Rotate tick labels by any degree and alternate them upon and below the X axis for reading clarity, in case of closeby ticks.

Works for top or bottom X axis.

Input: axes handle, rotation in degree, position of the X axis ('top' or 'bottom')

Warning:
1) In case of long tick labels crossing the axis, values u and l in the inputs have to be changed.
2) In case of printing, the option 'middle' instead of 'cap' for the vertical alignment looks better.

引用格式

Fanny Besem (2024). Rotate and alternate tick labels on any Xaxis (top or bottom) (https://www.mathworks.com/matlabcentral/fileexchange/32054-rotate-and-alternate-tick-labels-on-any-xaxis-top-or-bottom), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2008a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Labels and Annotations 的更多信息
致谢

参考作品: Rotate Tick Label

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.1.0.0

Clarifications

1.0.0.0