diff --git a/plugins/EnergyScan.java b/plugins/EnergyScan.java index a13ec61..80aaaa8 100644 --- a/plugins/EnergyScan.java +++ b/plugins/EnergyScan.java @@ -168,7 +168,7 @@ public class EnergyScan extends Panel { void plot() { try { - if ((scanPlot!=null) &&(scanSeries!=null)&& scanPlot.isShowing()){ + if ((scanPlot!=null) && (scanSeries!=null) && scanPlot.isShowing()){ Integer c = count.take(); if (c == null) { scanSeries.clear(); @@ -355,7 +355,7 @@ public class EnergyScan extends Panel { } void startPlot() throws Exception{ - PlotDescriptor descriptors = new PlotDescriptor("Scan Data"); + PlotDescriptor descriptors = new PlotDescriptor("Energy Scan"); ArrayList plots = getController().plot(new PlotDescriptor[]{descriptors},null); scanPlot = (LinePlotBase) plots.get(0); scanSeries = scanPlot.getSeries(0);