Code covered by the BSD License  

Highlights from
Hierarchically grouped boxplot


4.7 | 3 ratings Rate this file 17 Downloads (last 30 days) File Size: 3.26 KB File ID: #40878
image thumbnail

Hierarchically grouped boxplot



22 Mar 2013 (Updated )

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

| Watch this File

File Information

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.

Required Products Statistics Toolbox
MATLAB release MATLAB 8.0 (R2012b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (4)
28 Jul 2014 arnold

Hi Matt, I was wondering if you might have a chance to include coloring+legend as another dimension. Otherwise... using it every week. Regards Arnold

26 Jan 2014 arnold

Hi Matt,
thanks for the function. This is really missing in Matlab.
A couple of thoughts that might make it even better:

The ability to plot the lowest hierarchy/dimension as different box-color, or maybe second y-axis. This is closely related to the second idea:
The ability to plot 2-y axis, differentiated by color as well. Many applications have two different variables you might wanna show.

3. It would be more usable if one could simply feed it a table. The new 'table' data type looks like it would for great with this.

18 Oct 2013 Eric Sampson  
26 Apr 2013 DAEJIN  
25 Mar 2013

Copyright info

Contact us