add drawLine to TwoDPlot