for(int i=0; i<this.numberOfDataPoints; i++){
data[3][i] = this.weibullTwoParLine[0] + this.weibullTwoParLine[1]*weibullTwoParOrderMedians[i];
}
// Create instance of PlotGraph
PlotGraph pg = new PlotGraph(data);
int[] points = {4, 0};
pg.setPoint(points);
int[] lines = {0, 3};
pg.setLine(lines);
pg.setXaxisLegend("Weibull Order Statistic Medians");
pg.setYaxisLegend("Ordered Data Values");
pg.setGraphTitle("Two Parameter Weibull probability plot: gradient = " + Fmath.truncate(this.weibullTwoParLine[1], 4) + ", intercept = " + Fmath.truncate(this.weibullTwoParLine[0], 4) + ", R = " + Fmath.truncate(this.weibullTwoParCorrCoeff, 4));
pg.setGraphTitle2(" mu = 0, sigma = " + Fmath.truncate(this.weibullTwoParParam[0], 4) + ", gamma = " + Fmath.truncate(this.weibullTwoParParam[1], 4));
// Plot
pg.plot();
this.weibullTwoParDone = true;
this.probPlotDone = true;
}