Class Lognormal
- java.lang.Object
-
- All Implemented Interfaces:
Destroyable
,GlobalInfoSupporter
,LoggingLevelHandler
,LoggingSupporter
,OptionHandler
,ShallowCopySupporter<Paintlet>
,SizeOfHandler
,AntiAliasingSupporter
,Paintlet
,Serializable
public class Lognormal extends AbstractProbabilityPaintlet
paints the transformed lognormal 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$
- Author:
- msf8
- See Also:
- Serialized Form
-
-
Field Summary
-
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_Sorted, m_TransformedY
-
Fields inherited from class adams.gui.visualization.stats.paintlet.AbstractColorPaintlet
m_Color, m_Data
-
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_OptionManager
-
Fields inherited from class adams.core.logging.LoggingObject
m_Logger, m_LoggingIsEnabled, m_LoggingLevel
-
-
Constructor Summary
Constructors Constructor Description Lognormal()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
calculateDimensions()
For calculating the dimensions of the plot area.void
configureAxes()
Sets the axes to the correct type for the distribution.protected void
doPerformPaint(Graphics g, PaintEvent.PaintMoment moment)
The paint routine of the paintlet.String
globalInfo()
Returns a string describing the object.boolean
hasFitLine()
Whether a regression line has been implemented for this regresion paintlet-
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.stats.paintlet.AbstractColorPaintlet
colorTipText, getColor, getData, setColor, setData
-
Methods inherited from class adams.gui.visualization.core.AbstractStrokePaintlet
applyStroke, getStrokeThickness, getStrokeWidth, performPaint, setStrokeThickness, strokeThicknessTipText
-
Methods inherited from class adams.gui.visualization.core.AbstractPaintlet
canPaint, finishInit, forCommandLine, forName, getPaintlets, getPanel, getPlot, getRepaintOnChange, hasPanel, isEnabled, isInitializing, memberChanged, memberChanged, paint, repaint, setEnabled, setPanel, setPanel, setRepaintOnChange, shallowCopy, shallowCopy, updatePanel
-
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, destroy, getDefaultLoggingLevel, getOptionManager, loggingLevelTipText, newOptionManager, reset, setLoggingLevel, toCommandLine, toString
-
Methods inherited from class adams.core.logging.LoggingObject
configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface adams.core.logging.LoggingLevelHandler
getLoggingLevel
-
-
-
-
Method Detail
-
configureAxes
public void configureAxes()
Description copied from class:AbstractProbabilityPaintlet
Sets the axes to the correct type for the distribution.- Specified by:
configureAxes
in classAbstractProbabilityPaintlet
-
calculateDimensions
public void calculateDimensions()
For calculating the dimensions of the plot area.- Specified by:
calculateDimensions
in classAbstractProbabilityPaintlet
-
doPerformPaint
protected void doPerformPaint(Graphics g, PaintEvent.PaintMoment moment)
The paint routine of the paintlet.- Specified by:
doPerformPaint
in classAbstractStrokePaintlet
- Parameters:
g
- the graphics context to use for paintingmoment
- whatPaintEvent.PaintMoment
is currently being painted
-
globalInfo
public String globalInfo()
Description copied from class:AbstractOptionHandler
Returns a string describing the object.- Specified by:
globalInfo
in interfaceGlobalInfoSupporter
- Specified by:
globalInfo
in classAbstractOptionHandler
- Returns:
- a description suitable for displaying in the gui
-
hasFitLine
public boolean hasFitLine()
Description copied from class:AbstractProbabilityPaintlet
Whether a regression line has been implemented for this regresion paintlet- Specified by:
hasFitLine
in classAbstractProbabilityPaintlet
- Returns:
- True if regression line implemented
-
-