Closedown
This commit is contained in:
@@ -675,7 +675,7 @@ public class ScreenPanel extends Panel {
|
||||
double maxPlot = gaussian[0];
|
||||
yMean = gaussian[1];
|
||||
ySigma = gaussian[2];
|
||||
gaussian[0] += min;
|
||||
gaussian[0] += min;
|
||||
double[] fit = getFitFunction(gaussian, x);
|
||||
|
||||
int[] y = new int[x.length];
|
||||
@@ -697,8 +697,9 @@ public class ScreenPanel extends Panel {
|
||||
new Point(xMean.intValue(), yMean.intValue()),
|
||||
new Dimension(2 * xSigma.intValue(), 2 * ySigma.intValue()));
|
||||
|
||||
text = new Overlays.Text(fitPen,
|
||||
String.format("x = %1.3f \n y = %1.3f" , data.getX((int) Math.round(xMean)), data.getY((int) Math.round(yMean))),
|
||||
text = new Overlays.Text(fitPen,
|
||||
String.format("x = %1.3f " + "\u03C3 = %1.3f \ny = %1.3f " + "\u03C3 = %1.3f" ,
|
||||
data.getX((int) Math.round(xMean)), xSigma, data.getY((int) Math.round(yMean)), ySigma),
|
||||
new Font(Font.MONOSPACED, 0, 14), new Point(20,20));
|
||||
text.setFixed(true);
|
||||
text.setAnchor(Overlay.ANCHOR_VIEWPORT_TOP_LEFT);
|
||||
|
||||
Reference in New Issue
Block a user