double[] p = cal.getCoefficients(); if (fit<=Calibration.LOG2) { drawLabel(plot, CurveFitter.fList[fit]); ly += 0.04; drawLabel(plot, "a="+IJ.d2s(p[0],6,10)); drawLabel(plot, "b="+IJ.d2s(p[1],6,10)); if (np>=3) drawLabel(plot, "c="+IJ.d2s(p[2],6,10)); if (np>=4) drawLabel(plot, "d="+IJ.d2s(p[3],6,10)); if (np>=5) drawLabel(plot, "e="+IJ.d2s(p[4],6,10)); ly += 0.04; {drawLabel(plot, "R^2="+rSquared); rSquared=null;} plot.show();
double[] p = cal.getCoefficients(); if (fit<=Calibration.LOG2) { drawLabel(plot, CurveFitter.fList[fit]); ly += 0.04; drawLabel(plot, "a="+IJ.d2s(p[0],6,10)); drawLabel(plot, "b="+IJ.d2s(p[1],6,10)); if (np>=3) drawLabel(plot, "c="+IJ.d2s(p[2],6,10)); if (np>=4) drawLabel(plot, "d="+IJ.d2s(p[3],6,10)); if (np>=5) drawLabel(plot, "e="+IJ.d2s(p[4],6,10)); ly += 0.04; {drawLabel(plot, "R^2="+rSquared); rSquared=null;} plot.show();