XTICKLABEL_ROTATE

Rotate XTickLabel to better accommodate long labels and text labels.

Download
Download

You are now following this Submission

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 .

General Information

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

Download
1.3.0

2014 : Allow for multiline labels

Download
1.2.0

Rev.2010. Revisions made to improve functionality in response to various user recommendations.

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

Download
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).

Download