plots for Grind
This commit is contained in:
parent
c0ad20fe6c
commit
69ece80ffa
@ -109,7 +109,7 @@ public class ShowEnergySpectrumAction extends OneToOneAction<NumassData, Table>
|
|||||||
List<DataPoint> data = entry.getValue().entrySet().stream()
|
List<DataPoint> data = entry.getValue().entrySet().stream()
|
||||||
.map(e -> new MapPoint(nameList, e.getKey(), e.getValue()))
|
.map(e -> new MapPoint(nameList, e.getKey(), e.getValue()))
|
||||||
.collect(Collectors.toList());
|
.collect(Collectors.toList());
|
||||||
PlottableData datum = PlottableData.plot(seriesName, new XYAdapter(), data);
|
PlottableData datum = PlottableData.plot(seriesName, XYAdapter.DEFAULT_ADAPTER, data);
|
||||||
datum.configure(plottableConfig);
|
datum.configure(plottableConfig);
|
||||||
plottables.add(datum);
|
plottables.add(datum);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user