Example usage for weka.gui.visualize PlotData2D setYindex

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

Introduction

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

Prototype

public void setYindex(int y) 

Source Link

Document

Set the y index of the data

Usage

From source file:milk.visualize.MIPlot2D.java

License:Open Source License

private void setYValue(Axis ay) {
    m_yIndex = ay.index;/*from   w w w  . ja v a2s . c  om*/
    m_maxY = ay.maxValue;
    m_minY = ay.minValue;
    if (m_plots != null) {
        for (int i = 0; i < m_plots.size(); i++) {
            PlotData2D pl = (PlotData2D) m_plots.elementAt(i);
            pl.setYindex(m_yIndex);
        }
    }
    m_axisChanged = true;
}