EncogWorkBench.displayError("Error",
"Can't use scatter plot for time-series.");
return;
}
ScatterChooseClass dialog = new ScatterChooseClass(this.analyst);
if (dialog.process()) {
if (dialog.getAxis().size() < 2) {
EncogWorkBench.displayError("Error",
"Must select at least two axes.");
return;
}
try {
EncogWorkBench.getInstance().getMainWindow().beginWait();
ScatterPlotTab tab = new ScatterPlotTab(this.analyst,
dialog.getClassName(), dialog.getAxis());
EncogWorkBench.getInstance().getMainWindow().getTabManager()
.openTab(tab);
} finally {
EncogWorkBench.getInstance().getMainWindow().endWait();
}