Example usage for weka.gui.visualize PlotData2D setXindex

List of usage examples for weka.gui.visualize PlotData2D setXindex

Introduction

In this page you can find the example usage for weka.gui.visualize PlotData2D setXindex.

Prototype

public void setXindex(int x) 

Source Link

Document

Set the x index of the data.

Usage

From source file:milk.visualize.MIPlot2D.java

License:Open Source License

private void setXValue(Axis anx) {
    m_xIndex = anx.index;/*from  w  w w. j  a v a  2s .  c  o m*/
    m_maxX = anx.maxValue;
    m_minX = anx.minValue;
    if (m_plots != null) {
        for (int i = 0; i < m_plots.size(); i++) {
            PlotData2D pl = (PlotData2D) m_plots.elementAt(i);
            pl.setXindex(m_xIndex);
        }
    }
    m_axisChanged = true;
}