adams.gui.visualization.stats.paintlet
Class Logistic
java.lang.Object
adams.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.Logistic
- All Implemented Interfaces:
- Debuggable, Destroyable, OptionHandler, ShallowCopySupporter<Paintlet>, SizeOfHandler, AntiAliasingPaintlet, Paintlet, Serializable
public class Logistic
- extends AbstractProbabilityPaintlet
paints the transformed logistic 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
- Version:
- $Revision: 6343 $
- Author:
- msf8
- See Also:
- Serialized Form
| Methods inherited from class adams.gui.visualization.stats.paintlet.AbstractProbabilityPaintlet |
antiAliasingEnabledTipText, defineOptions, fillColorTipText, fillPointTipText, getFillColor, getFillPoint, getPaintMoment, getSize, initialize, isAntiAliasingEnabled, setAntiAliasingEnabled, setFillColor, setFillPoint, setIndex, setLine, setSize, sizeTipText |
| 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 |
Logistic
public Logistic()
configureAxes
public void configureAxes()
- Description copied from class:
AbstractProbabilityPaintlet
- Sets the axes to the correct type for the distribution.
- Specified by:
configureAxes in class AbstractProbabilityPaintlet
calculateDimensions
public void calculateDimensions()
- For calculating the dimensions of the plot area.
- Specified by:
calculateDimensions in class AbstractProbabilityPaintlet
performPaint
public void performPaint(Graphics g,
PaintEvent.PaintMoment moment)
- The paint routine of the paintlet.
- Specified by:
performPaint in interface Paintlet- Specified by:
performPaint in class AbstractPaintlet
- Parameters:
g - the graphics context to use for paintingmoment - what PaintEvent.PaintMoment is currently being painted
globalInfo
public String globalInfo()
- Specified by:
globalInfo in class AbstractOptionHandler
hasFitLine
public boolean hasFitLine()
- Description copied from class:
AbstractProbabilityPaintlet
- Whether a regression line has been implemented
for this regresion paintlet
- Specified by:
hasFitLine in class AbstractProbabilityPaintlet
- Returns:
- True if regression line implemented
Copyright © 2012 University of Waikato, Hamilton, NZ. All Rights Reserved.