Products & Services Solutions Academia Support User Community Company

Learn more about Statistics Toolbox   

Box Plots

The graph below, created with the boxplot command, compares petal lengths in samples from two species of iris.

load fisheriris
s1 = meas(51:100,3);
s2 = meas(101:150,3);
boxplot([s1 s2],'notch','on',...
        'labels',{'versicolor','virginica'})

This plot has the following features:

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS