|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectadams.core.ConsoleObject
adams.core.option.AbstractOptionHandler
adams.gui.visualization.core.AbstractPaintlet
adams.gui.visualization.core.AbstractStrokePaintlet
adams.gui.visualization.stats.paintlet.AbstractColorPaintlet
adams.gui.visualization.stats.paintlet.AbstractProbabilityPaintlet
adams.gui.visualization.stats.paintlet.Gamma
public class Gamma
Paints the transformed gamma distribution
Valid options are:-D <int> (property: debugLevel) The greater the number the more additional info the scheme may output to the console (0 = off). default: 0 minimum: 0
-stroke-thickness <float> (property: strokeThickness) The thickness of the stroke. default: 1.0 minimum: 0.01
-color <java.awt.Color> (property: color) Stroke color for the paintlet default: #000000
-size <int> (property: size) Size of the data points default: 5
-fill-point (property: fillPoint) Whether to fill the data point with solid color
-fill-color <java.awt.Color> (property: fillColor) Color for filling data point default: #ff0000
-shape <double> (property: shape) Shape paramter for gamma distribution default: 1.0
-scale <double> (property: scale) Scale parameter for gamma distribution default: 1.0
| Field Summary | |
|---|---|
protected double |
m_Scale
Scale parameter for the gamma distribution |
protected double |
m_Shape
Shape parameter for the gamma distribution |
| Fields inherited from class adams.gui.visualization.stats.paintlet.AbstractProbabilityPaintlet |
|---|
m_AntiAliasingEnabled, m_AxisBottom, m_AxisLeft, m_Fill, m_FillColor, m_Index, m_RegressionLine, m_Size, m_TransformedY |
| Fields inherited from class adams.gui.visualization.stats.paintlet.AbstractColorPaintlet |
|---|
m_Color, m_Instances |
| Fields inherited from class adams.gui.visualization.core.AbstractStrokePaintlet |
|---|
m_StrokeThickness |
| Fields inherited from class adams.gui.visualization.core.AbstractPaintlet |
|---|
m_Enabled, m_Initializing, m_Panel, m_RepaintOnChange |
| Fields inherited from class adams.core.option.AbstractOptionHandler |
|---|
m_DebugLevel, m_OptionManager |
| Constructor Summary | |
|---|---|
Gamma()
|
|
| Method Summary | |
|---|---|
void |
defineOptions()
|
double |
getScale()
Get the scale parameter for the gamma distribution |
double |
getShape()
Get the shape parameter for the gamma distribution |
String |
globalInfo()
|
boolean |
hasFitLine()
Whether a regression line has been implemented for this regresion paintlet |
protected void |
initialize()
|
void |
performPaint(Graphics g,
PaintEvent.PaintMoment moment)
The paint routine of the paintlet. |
String |
scaleTipText()
Tip text for the scale property |
void |
setAxis()
Sets the axis to the correct type for the distribution |
void |
setScale(double val)
Set the scale parameter for the gamma distribution |
void |
setShape(double val)
Set the shape parameter for the gamma distribution |
String |
shapeTipText()
Tip text for the shape property |
| Methods inherited from class adams.gui.visualization.stats.paintlet.AbstractProbabilityPaintlet |
|---|
antiAliasingEnabledTipText, fillColorTipText, fillPointTipText, getFillColor, getFillPoint, getPaintMoment, getSize, isAntiAliasingEnabled, setAntiAliasingEnabled, setFillColor, setFillPoint, setIndex, setLine, setSize, sizeTipText |
| Methods inherited from class adams.gui.visualization.stats.paintlet.AbstractColorPaintlet |
|---|
colorTipText, getColor, getInstances, setColor, setInstances |
| Methods inherited from class adams.gui.visualization.core.AbstractStrokePaintlet |
|---|
getStrokeThickness, paint, setStrokeThickness, strokeThicknessTipText |
| Methods inherited from class adams.gui.visualization.core.AbstractPaintlet |
|---|
canPaint, finishInit, forCommandLine, forName, getPaintlets, getPanel, getPlot, getRepaintOnChange, hasPanel, isEnabled, isInitializing, memberChanged, memberChanged, repaint, setEnabled, setPanel, setRepaintOnChange, shallowCopy, shallowCopy, updatePanel |
| Methods inherited from class adams.core.option.AbstractOptionHandler |
|---|
cleanUpOptions, debug, debug, debugLevelTipText, destroy, getDebugLevel, getOptionManager, isDebugOn, newOptionManager, reset, setDebugLevel, toCommandLine, toString |
| Methods inherited from class adams.core.ConsoleObject |
|---|
getDebugging, getSystemErr, getSystemOut, sizeOf |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected double m_Shape
protected double m_Scale
| Constructor Detail |
|---|
public Gamma()
| Method Detail |
|---|
protected void initialize()
initialize in class AbstractPaintletpublic void defineOptions()
defineOptions in interface OptionHandlerdefineOptions in class AbstractProbabilityPaintletpublic void setScale(double val)
val - Scale parameterpublic double getScale()
public String scaleTipText()
public void setShape(double val)
val - Shape parameterpublic double getShape()
public String shapeTipText()
public void setAxis()
AbstractProbabilityPaintlet
setAxis in class AbstractProbabilityPaintlet
public void performPaint(Graphics g,
PaintEvent.PaintMoment moment)
performPaint in interface PaintletperformPaint in class AbstractPaintletg - the graphics context to use for paintingmoment - what PaintEvent.PaintMoment is currently being paintedpublic String globalInfo()
globalInfo in class AbstractOptionHandlerpublic boolean hasFitLine()
AbstractProbabilityPaintlet
hasFitLine in class AbstractProbabilityPaintlet
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||