XTICKLABEL_ROTATE
Rotate XTickLabel to better accommodate long labels and text labels.
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Editor's Note: This file was a File Exchange Pick of the Week
Cite As
Brian Katz (2026). XTICKLABEL_ROTATE (https://www.mathworks.com/matlabcentral/fileexchange/3486-xticklabel_rotate), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired by: XTICKLABEL_ROTATE90
Inspired: Rotate XTick Labels for multi-axes, yticklabel_rotate, XYrotalabel - rotate X-axis and Y-axis labels
General Information
- Version 1.4.0 (4.47 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.4.0 | Modified to account for conflict with C:\Program Files\MATLAB\R2016b\toolbox\matlab\graph3d\xticklabels.m |
||
| 1.3.0 | 2014 : Allow for multiline labels |
||
| 1.2.0 | Rev.2010. Revisions made to improve functionality in response to various user recommendations. |
||
| 1.1.0 | Use suggested modifications have been integrated. The current version now support TOP xlabels. In addition, the degree of resizing of the axis has been reduced. |
||
| 1.0.0 | Following user comment, modified to allow for additional parameter options for existing XTicks. Subsequently modified to allow for exisiting XTickLabel being defined as cell array (before rotation). |