private void plotScatterGraphHelper(ScatterPlot plot, double[] x, double[] y) { lock (this) { plot.ClearData(); plot.PlotXY(x, y); } }