Class RVLS.boxPlot
All Packages Class Hierarchy This Package Previous Next Index
Class RVLS.boxPlot
Object
|
+----Component
|
+----Canvas
|
+----RVLS.boxPlot
- public class boxPlot
- extends Canvas
Creates a canvas displaying a boxplot
-
RVLS.boxPlot()
-
-
setDrawWhisker(boolean)
- Indicates whether to draw whiskers
-
getgMin()
-
-
getP50()
-
-
setmin(double)
-
-
setDrawBox(boolean)
-
-
setMeanSemColor(Color)
- Sets color for the sem line be?
-
setName(String)
- labels the boxplot
-
setSd(double)
-
-
setMean(double)
-
-
getgMax()
-
-
setData(double, double, double[])
- Specifies all attributes for boxPlot.
Use this version of the contructor when using raw data
-
setBounds(int, int, int, int)
-
-
getDrawFarOut()
-
-
setP50(double)
-
-
setmax(double)
-
-
getDrawWhisker()
-
-
paint(Graphics)
-
-
getDrawOut()
-
-
getSem()
-
-
setOutside(double[])
-
-
setvm(int)
-
-
getP75()
-
-
getP25()
-
-
getDesc()
-
-
setPlusColor(Color)
- Sets color for the mean
-
setDspSem(boolean)
- Should the standard error be displayed?
-
setSem(double)
-
-
setgMin(double)
-
-
sethorMarg(int)
-
-
setFarOut(double[])
-
-
setDrawMedian(boolean)
- Indicates whether to display the median
-
getName()
-
-
setP75(double)
-
-
setP25(double)
-
-
setDspSd(boolean)
- Should the standard deviation be displayed?
-
setData(double, double, double, double, double, double, double, double, double, double, double[], double[])
- Specifies all attributes for boxPlot.
Use this version of the contructor when all statistics are computed
-
getSd()
-
-
setgMax(double)
-
-
setMeanPlus(boolean)
- Should the mean be displayed?
-
setBoxColor(Color)
- Sets color for the box
-
setDrawFarOut(boolean)
- Indicates whether to display far out values
-
getMean()
-
-
setDrawOut(boolean)
- Indicates whether to display outside values
boxPlot
public boxPlot()
setDrawWhisker
public void setDrawWhisker(boolean drawWhisker)
- Indicates whether to draw whiskers
getgMin
public double getgMin()
getP50
public double getP50()
setmin
public void setmin(double min)
setDrawBox
public void setDrawBox(boolean drawBox)
setMeanSemColor
public void setMeanSemColor(Color meanSemColor)
- Sets color for the sem line be?
setName
public void setName(String name)
- labels the boxplot
- Overrides:
- setName in class Component
setSd
public void setSd(double sd)
setMean
public void setMean(double mean)
getgMax
public double getgMax()
setData
public void setData(double gMin,
double gMax,
double[] x)
- Specifies all attributes for boxPlot.
Use this version of the contructor when using raw data
- Parameters:
- gMin - minimum pixel value of display
- gMax - maximum pixel value of display
- x - [] the raw data
getDrawFarOut
public boolean getDrawFarOut()
setBounds
public void setBounds(int a,
int b,
int x,
int y)
- Overrides:
- setBounds in class Component
setP50
public void setP50(double p50)
setmax
public void setmax(double max)
getDrawWhisker
public boolean getDrawWhisker()
getDrawOut
public boolean getDrawOut()
paint
public void paint(Graphics g)
- Overrides:
- paint in class Canvas
getSem
public double getSem()
setOutside
public void setOutside(double[] outside)
setvm
public void setvm(int vm)
getP75
public double getP75()
getP25
public double getP25()
getDesc
public RVLS.desc getDesc()
setPlusColor
public void setPlusColor(Color plusColor)
- Sets color for the mean
setDspSem
public void setDspSem(boolean dspSem)
- Should the standard error be displayed?
setSem
public void setSem(double sem)
setgMin
public void setgMin(double gMin)
sethorMarg
public void sethorMarg(int horMarg)
setFarOut
public void setFarOut(double[] farOut)
getName
public java.lang.String getName()
- Overrides:
- getName in class Component
setDrawMedian
public void setDrawMedian(boolean drawMedian)
- Indicates whether to display the median
setP75
public void setP75(double p75)
setP25
public void setP25(double p25)
setDspSd
public void setDspSd(boolean dspSd)
- Should the standard deviation be displayed?
setData
public void setData(double gMin,
double gMax,
double min,
double p25,
double p50,
double p75,
double max,
double mean,
double sem,
double sd,
double[] outside,
double[] farOut)
- Specifies all attributes for boxPlot.
Use this version of the contructor when all statistics are computed
- Parameters:
- gMin - minimum pixel value of display
- gMax - maximum pixel value of display
- min - minimum data value
- p25 - 25th percentile
- p50 - 50th percentile
- p75 - 75th percentile
- max - maximum data value
- mean - the arithmetic mean
- sem - standard error of the mean
- sd - the standard deviation
- outside - [] and array of outside values
- farOut - [] array of far out values
getSd
public double getSd()
setgMax
public void setgMax(double gMax)
setMeanPlus
public void setMeanPlus(boolean meanPlus)
- Should the mean be displayed?
setBoxColor
public void setBoxColor(Color boxColor)
- Sets color for the box
setDrawFarOut
public void setDrawFarOut(boolean drawFarOut)
- Indicates whether to display far out values
getMean
public double getMean()
setDrawOut
public void setDrawOut(boolean drawOut)
- Indicates whether to display outside values
All Packages Class Hierarchy This Package Previous Next Index