% Example 10.8
% This example shows the various flavors of the dot chart.

load oronsay
% Find the means and standard deviations of 
% each column.
mus = mean(oronsay);
stds = std(oronsay);
% Construct the dotchart using lines to the dots. 
dotchart(mus,labcol)
% change the axes limits.
axis([-1 25 0 13])

% Now try error bar option.
dotchart(mus,labcol,'e',stds)
