pisgah
Class FGraphData

java.lang.Object
  |
  +--pisgah.FGraphData
All Implemented Interfaces:
PdfPlotable

public class FGraphData
extends java.lang.Object
implements PdfPlotable

Provides data for graphing the pdf of a F distribution


Field Summary
 
Fields inherited from interface pisgah.PdfPlotable
BOTH_TAILS, LEFT_TAIL, RIGHT_TAIL
 
Constructor Summary
FGraphData()
           
FGraphData(int aN1, int aN2, float aX0, float aX1)
          constructs FGraphData
FGraphData(int aN1, int aN2, float aX0, float aX1, boolean aInverseSelected, int aTailChoice)
          constructs FGraphData
 
Method Summary
 float getHighX()
          Gets the upper bound for the viewport.
 java.awt.geom.Point2D.Float getHighXInterval()
           
 float getHighY()
           
 float getLowX()
          Gets the lower bound for the distribution.
 java.awt.geom.Point2D.Float getLowXInterval()
           
 float getLowY()
           
 java.awt.geom.Point2D.Float[] getPlotPoints()
           
 int getTailChoice()
           
 java.lang.String getTitle()
           
 java.lang.String getXAxisLabel()
           
 boolean isInverseSelected()
           
 void reset()
           
 void setInverseSelected(boolean aInverseSelected)
           
 void setTailChoice(int aTailChoice)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FGraphData

public FGraphData()

FGraphData

public FGraphData(int aN1,
                  int aN2,
                  float aX0,
                  float aX1)
constructs FGraphData

Parameters:
aN1 - is the numerator degrees of freedom
aN2 - is the denominator degrees of freedom
aX0 - is the left end of the probability interval
aX1 - is the right end of the probability interval

FGraphData

public FGraphData(int aN1,
                  int aN2,
                  float aX0,
                  float aX1,
                  boolean aInverseSelected,
                  int aTailChoice)
constructs FGraphData

Parameters:
aN1 - is the numerator degrees of freedom
aN2 - is the denominator degrees of freedom
aX0 - is the left end of the probability interval
aX1 - is the right end of the probability interval
aInverseSelected - sets the inverse mode
aTailChoice - sets the tailChoice in inverse mode
Method Detail

getPlotPoints

public java.awt.geom.Point2D.Float[] getPlotPoints()
Specified by:
getPlotPoints in interface PdfPlotable

getLowX

public float getLowX()
Gets the lower bound for the distribution.

Returns:
The lower bound, 0.0

getHighX

public float getHighX()
Gets the upper bound for the viewport.

Returns:
The upper bound, 6.0.

getLowY

public float getLowY()
Specified by:
getLowY in interface PdfPlotable

getHighY

public float getHighY()
Specified by:
getHighY in interface PdfPlotable

getLowXInterval

public java.awt.geom.Point2D.Float getLowXInterval()
Specified by:
getLowXInterval in interface PdfPlotable

getHighXInterval

public java.awt.geom.Point2D.Float getHighXInterval()
Specified by:
getHighXInterval in interface PdfPlotable

getXAxisLabel

public java.lang.String getXAxisLabel()
Specified by:
getXAxisLabel in interface PdfPlotable

getTitle

public java.lang.String getTitle()
Specified by:
getTitle in interface PdfPlotable

reset

public void reset()
Specified by:
reset in interface PdfPlotable

isInverseSelected

public boolean isInverseSelected()
Specified by:
isInverseSelected in interface PdfPlotable

setInverseSelected

public void setInverseSelected(boolean aInverseSelected)

getTailChoice

public int getTailChoice()
Specified by:
getTailChoice in interface PdfPlotable

setTailChoice

public void setTailChoice(int aTailChoice)