link_line function

Link the paired observations with a line