use a loop to go through each point from left to right. Choose groups of two points and use either an active with a changable XScale or an extension such as Surface object to draw a line between the points for each group? I think that would work (for linear lines).