-- Fixed the position of the dots on the line
-- Using monotone interpolation for lines