List of usage examples for weka.gui.beans ScatterPlotMatrix ScatterPlotMatrix
public ScatterPlotMatrix()
From source file:com.sliit.views.DataVisualizerPanel.java
void getScatterPlot() { try {/*from ww w. j av a2 s . c o m*/ Reader r = new BufferedReader(new FileReader(datasetPathText.getText())); Instances inst = new Instances(r); final ScatterPlotMatrix scatterPlotMatrix = new ScatterPlotMatrix(); scatterPlotMatrix.setInstances(inst); scatterplotpanel.removeAll(); scatterplotpanel.add(scatterPlotMatrix, "scatterplotpanel", 0); scatterplotpanel.revalidate(); } catch (Exception ex) { ex.printStackTrace(); System.err.println(ex.getMessage()); } }
From source file:org.processmining.analysis.traceclustering.ui.TraceClusteringUI.java
License:Open Source License
protected JPanel getScatterPoltMatrix() { ScatterPlotMatrix dv = new ScatterPlotMatrix(); try {//ww w .j a va 2s.co m dv.setInstances(aggregateProfile.getWekaData()); dv.setPreferredSize(new Dimension(350, 350)); } catch (Exception ce) { } return dv; }