Class ScatterPaintletErrors
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- 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.AbstractScatterPlotPaintlet
-
- adams.gui.visualization.stats.paintlet.ScatterPaintletErrors
-
- All Implemented Interfaces:
Destroyable
,GlobalInfoSupporter
,LoggingLevelHandler
,LoggingSupporter
,OptionHandler
,ShallowCopySupporter<Paintlet>
,SizeOfHandler
,AntiAliasingSupporter
,ColorProviderHandler
,Paintlet
,HitDetectorSupporter<AbstractScatterPlotHitDetector>
,Serializable
public class ScatterPaintletErrors extends AbstractScatterPlotPaintlet
Paintlet that draws data on the scatter plot as crosses whose size depends on the error between x and y values. Mainly useful for plotting predicted vs actual.
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
- Author:
- msf8
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class adams.gui.visualization.stats.paintlet.AbstractScatterPlotPaintlet
m_AntiAliasingEnabled, m_AxisBottom, m_AxisLeft, m_ColorData, m_ColorIndex, m_ColorMapping, m_ColorProvider, m_HitDetector, m_Size, m_XData, m_XIndex, m_YData, m_YIndex
-
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 ScatterPaintletErrors()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
drawData(Graphics g)
draws the data on the graphics objectString
globalInfo()
Returns a string describing the object.-
Methods inherited from class adams.gui.visualization.stats.paintlet.AbstractScatterPlotPaintlet
antiAliasingEnabledTipText, colorProviderTipText, defineOptions, doPerformPaint, getActualColor, getColorIndex, getColorProvider, getHitDetector, getPaintMoment, getXIndex, getYIndex, initialize, isAntiAliasingEnabled, newHitDetector, reset, setAntiAliasingEnabled, setColorIndex, setColorProvider, setXIndex, setYIndex, toString
-
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, setLoggingLevel, toCommandLine
-
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
-
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
-
drawData
protected void drawData(Graphics g)
Description copied from class:AbstractScatterPlotPaintlet
draws the data on the graphics object- Overrides:
drawData
in classAbstractScatterPlotPaintlet
- Parameters:
g
- Graphics object to draw on
-
-