Boxplot rotate labels, change fontsize

This script shows how to rotate labels and change their fontsize with boxplots
2.7K Downloads
Updated 15 Jan 2011

View License

I had so much problems with the labels in boxplots. After working on it quite a long time, I hope it might help somebody out there to save time. This demo script shows how to:
1) Rotate Labels
2) Change Fontsize of Labels
3) Change the position of each boxplot in the figure in order to group them.

Cite As

Peter Mangold (2024). Boxplot rotate labels, change fontsize (https://www.mathworks.com/matlabcentral/fileexchange/30044-boxplot-rotate-labels-change-fontsize), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2008b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0