function z = hline(x,y,s)

% hline(x,y,s) returns a horizontal line of type s at y=y from
% (the smallest value of x-0.5) to (the largest value of x+0.5)

z = plot([min(x)-1,max(x)+1],[y,y],s);
