boxp

Boxplot and variations - data can have variable sample sizes for each parameter.

Input Arguments:

The input X can be an n by p matrix, in which case, each column is portrayed as a verticle boxplot. The variable X can also be a cell array, where each cell contains one of the samples.

The optional argument 'VW' can be used to adjust the widths of the boxplots, such that they are proportional to the square root of the sample size. The optional argument 'HP' can be used to produce a histplot, where the width of the 'box' at the quartiles is proportional to the estimated density. Note that we use a kernel density estimate, where the window width is based on the Normal Reference Rule (Scott, 1992).

Output Arguments:

None

Synopsis

boxp(x,'vw','hp')

Notes

EXAMPLES:

boxp(x) % Plain boxplot for each col/cell of x
boxp(x,'vw') % Plots the variable width boxplots
boxp(x,'hp') % Plots the histplot


EDA Toolbox: Contents