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

Rotate tick labels and alternate them for reading clarity
752 descargas
Actualizado 5 jul 2011

Ver licencia

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.

Citar como

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. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2008a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Labels and Annotations en Help Center y MATLAB Answers.
Agradecimientos

Inspirado por: Rotate Tick Label

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión
1.1.0.0

Clarifications

1.0.0.0