function drawStrokes(strokes)

% DRAWSTOKES(strokes)
% Draws the strokes in the cell array of strokes.  Each stroke is an Nx3
% array, where N is the number of points in the array.  There is one column
% for x, y, and t (ignored here).  Draws each successive stroke in a
% different color as the line function does.
%
% Author: Christine Alvarado
% Date: Oct 21, 2005
%

colors = ['y' 'm' 'c' 'r' 'g' 'b' 'w' 'k'];
lineW = 2;

for i = 1:length(strokes)
    nextc = colors(mod(i,length(colors)));
    strx = strokes{i}(:,1);
    stry = strokes{i}(:,2);
    line(strx,stry,'Color',nextc,'LineWidth', lineW);
end

