ElVis Java Interface

sv.graph
Class Data1DIndex

java.lang.Object
  extended bysv.graph.Data1D
      extended bysv.graph.Data1DIndex
All Implemented Interfaces:
java.io.Serializable

public class Data1DIndex
extends Data1D

The Data1DIndex class stores an indexed dataset for f(x).

See Also:
Serialized Form

Field Summary
 
Fields inherited from class sv.graph.Data1D
bytesRead, fx, highlightEnd, highlightStart, nPoints, selected, thickness, x
 
Constructor Summary
Data1DIndex()
           
Data1DIndex(java.lang.String name, int nPoints, float[] x, float[] fx, float index)
          Create the dataset.
 
Method Summary
 void print()
           
 java.lang.Exception read(java.io.DataInputStream in)
           
 
Methods inherited from class sv.graph.Data1D
addFx, addPoints, addX, closestPoint, closestXPoint, draw, drawLine, drawMarker, setColor, setThickness, shortestYDistance
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Data1DIndex

public Data1DIndex()

Data1DIndex

public Data1DIndex(java.lang.String name,
                   int nPoints,
                   float[] x,
                   float[] fx,
                   float index)
Create the dataset.

Parameters:
name - - The name of the dataset.
nPoints - - The number of points in the dataset.
x - - Array of X values.
fx - - Array of f(X) values.
index - - The index value for this dataset.
Method Detail

read

public java.lang.Exception read(java.io.DataInputStream in)
Overrides:
read in class Data1D

print

public void print()

ElVis Java Interface