%% Plot Horizontal Error Bars
% Create a line plot with horizontal error bars at each data point.

x = 1:10:100;
y = [20 30 45 40 60 65 80 75 95 90];
err = [1 3 5 3 5 3 6 4 3 3];
errorbar(x,y,err,'horizontal')

% Copyright 2012 The MathWorks, Inc.