- Refactor simulation handling and improve net iteration methods
This commit is contained in:
2025-02-03 18:55:31 +01:00
parent 2acb27a6b9
commit 2d5f43bbc9
9 changed files with 80 additions and 34 deletions

View File

@@ -142,7 +142,9 @@ public class Plot {
var columnKey = String.format("%.3f", columnVal);
dataset.addValue(frequency[i], "Frequency", columnKey);
}
this.panelBarChart.getChart().getCategoryPlot().setDataset(dataset);
var chart = this.panelBarChart.getChart();
chart.getCategoryPlot().setDataset(dataset);
chart.setTitle(stat + " distribution");
var model = this.statList.getModel();
for (int i = 0; i < model.getSize(); i++) {