Is there a way to set the xticklabel text alignment

78 views (last 30 days)
I have long Xticklabels and would like to center align them. How do I change the default text alignment?
Thanks!

Answers (1)

Star Strider
Star Strider on 23 Jan 2020
The example in Specify x-Axis Tick Values and Labels appear to be centre-aligned.

Categories

Find more on Labels and Annotations in Help Center and File Exchange

Products


Release

R2019a

Community Treasure Hunt

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

Start Hunting!