Hierarchically grouped boxplot

A modification to boxplot that shows the hierarchical relationships between the grouping variables.


Updated Thu, 01 Sep 2016 15:23:25 +0000

View License

HIERARCHICALBOXPLOT(X,GRP) creates a boxplot of the data in X, grouped according to the grouping variables represented by the columns of GRP. The groupings are shown hierarchically, with the groups in each column of GRP being shown as groups within the groups of the next column.
Known limitation: BOXPLOT readjusts the label positions whenever the figure is resized (including docking/undocking). HIERARCHICALBOXPLOT does *not*. Too much resizing may cause strange-looking label positions.

Cite As

Matt Tearle (2023). Hierarchically grouped boxplot (https://www.mathworks.com/matlabcentral/fileexchange/40878-hierarchically-grouped-boxplot), MATLAB Central File Exchange. Retrieved .

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

Inspired: Alternative box plot

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes

Updated license

Copyright info