Hierarchically grouped boxplot

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

You are now following this Submission

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 (2026). Hierarchically grouped boxplot (https://uk.mathworks.com/matlabcentral/fileexchange/40878-hierarchically-grouped-boxplot), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired: Alternative box plot

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.1.0.1

Updated license

1.1.0.0

Copyright info

1.0.0.0