Redraw measurement lines when the plot is refreshed