Documente Academic
Documente Profesional
Documente Cultură
When the 'plotstyle' parameter takes the value 'compact', then the
default values for other parameters are the following:
boxstyle - 'filled' labelverbosity - 'majorminor'
factorgap - 'auto' medianstyle - 'target'
factorseparator - 'auto' outliersize - 4
jitter - 0.5 symbol - 'o'
labelorientation - 'inline'
You can see the data values and group names by using the data cursor
tool, available from the figure window. The data cursor shows the
original values of any points affected by the 'datalim' parameter. You
can label the specific group to which an outlier belongs using the gname
function.
Examples:
% Box plot of car gas mileage grouped by country
load carsmall
boxplot(MPG, Origin)
boxplot(MPG, Origin, 'sym','r*', 'colors',hsv(7))
boxplot(MPG, Origin, 'grouporder', ...
{'France' 'Germany' 'Italy' 'Japan' 'Sweden' 'USA'})