Plot the segments