Closedown
This commit is contained in:
@@ -10,6 +10,7 @@ import ch.psi.pshell.epics.Scienta;
|
||||
import ch.psi.pshell.plot.LinePlotSeries;
|
||||
import ch.psi.pshell.plot.RangeSelectionPlot.RangeSelection;
|
||||
import ch.psi.pshell.ui.Panel;
|
||||
import ch.psi.utils.Convert;
|
||||
import ch.psi.utils.IO;
|
||||
import ch.psi.utils.Serializer;
|
||||
import ch.psi.utils.State;
|
||||
@@ -203,9 +204,11 @@ public class XPSSpectrum extends Panel {
|
||||
} else {
|
||||
Object[] ret = (Object[]) ((Object[]) result)[0];
|
||||
if (ret.length > 0) {
|
||||
//double[] data = (double[]) Convert.wrapperArrayToPrimitiveArray(ret[0], Double.class);
|
||||
double[] xdata = (double[]) ret[0];
|
||||
double[] ydata = (double[]) ret[1];
|
||||
double[] xdata = (double[]) Convert.toPrimitiveArray(ret[0], Double.class);
|
||||
double[] ydata = (double[]) Convert.toPrimitiveArray(ret[1], Double.class);
|
||||
|
||||
//double[] xdata = (double[]) ret[0];
|
||||
//double[] ydata = (double[]) ret[1];
|
||||
|
||||
//double[] data = new double[]{1.0,1.0,1.0,1.0,1.0};
|
||||
LinePlotSeries series = new LinePlotSeries("Data");
|
||||
|
||||
Reference in New Issue
Block a user