Closedown

This commit is contained in:
x07maop
2015-06-23 09:42:12 +02:00
parent 1104669011
commit ef49d82e8d

View File

@@ -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<LinePlot> plots = getController().plot(new PlotDescriptor[]{descriptors},null);
scanPlot = (LinePlotBase) plots.get(0);
scanSeries = scanPlot.getSeries(0);