diff --git a/plugins/ScreenPanel.java b/plugins/ScreenPanel.java index c5c49a3..bf141cb 100644 --- a/plugins/ScreenPanel.java +++ b/plugins/ScreenPanel.java @@ -698,7 +698,7 @@ public class ScreenPanel extends Panel { new Dimension(2 * xSigma.intValue(), 2 * ySigma.intValue())); text = new Overlays.Text(fitPen, - String.format("x = %f \n y = %f" , data.getX((int) Math.round(xMean)), data.getY((int) Math.round(yMean))), + String.format("x = %1.3f \n y = %1.3f" , data.getX((int) Math.round(xMean)), data.getY((int) Math.round(yMean))), new Font(Font.MONOSPACED, 0, 14), new Point(20,20)); text.setFixed(true); text.setAnchor(Overlay.ANCHOR_VIEWPORT_TOP_LEFT); @@ -1791,7 +1791,7 @@ public class ScreenPanel extends Panel { //byte[] arr = (byte[]) (((DataBufferByte)(Utils.grayscale(renderer.getImage()).getRaster().getDataBuffer())).getData()); //Object image = Convert.toBidimensional(arr, renderer.getImage().getWidth(), renderer.getImage().getHeight()); //getController().getDataManager().setDataset("/image", image); - //elog("ScreenPanel Snapshot", "Data file: " + getController().getExecutionContext().getPath(), new String[]{snapshotFile}); + elog("ScreenPanel Snapshot", "Data file: " + getController().getExecutionContext().getPath(), new String[]{snapshotFile}); } catch (Exception ex) { ex.printStackTrace();