function l=drawLine(x0,y0,x1,y1)
% DRAWLINE draws a line between (x0,y0) and (x1,y1).
% Usage: l=drawLine(x0,y0,x1,y1)

% Copyright(C) 2002 Tohru Ikeguchi, All Rights Reserved

% Default value setting
if nargin<1,x0=0; end
if nargin<2,y0=0; end
if nargin<3,x1=1; end
if nargin<4,y1=0; end

% Draw a line between (x0,y0) and (x1,y1).
l=plot([x0 x1],[y0 y1],'Color',[0 0 0],'LineWidth',3.2);
