function DrawLine(P,Q,c)
% Draws a line segment connecting points P and Q; color is specified by c.
% Assumes hold is on.

plot([P.x Q.x],[P.y Q.y],c)