public static class AbstractKernelDensityPlotter.KDenseStyle extends java.lang.Object implements Style
Constructor and Description |
---|
KDenseStyle(java.awt.Color color,
FillMode fill,
java.awt.Stroke stroke,
Kernel1dShape kernelShape,
AbstractKernelDensityPlotter.KernelFigure kernelFigure,
boolean isCumulative,
Normalisation norm)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Kernel1d |
createKernel(Axis xAxis,
boolean xLog)
Constructs a smoothing kernel suitable for this style.
|
boolean |
equals(java.lang.Object o) |
javax.swing.Icon |
getLegendIcon()
Returns an icon suitable for displaying in a legend for this style.
|
Normalisation |
getNormalisation()
Returns normalisation mode.
|
int |
hashCode() |
boolean |
isCumulative()
Returns cumulative flag.
|
public KDenseStyle(java.awt.Color color, FillMode fill, java.awt.Stroke stroke, Kernel1dShape kernelShape, AbstractKernelDensityPlotter.KernelFigure kernelFigure, boolean isCumulative, Normalisation norm)
color
- plot colourfill
- fill modestroke
- line stroke, null for filled areakernelShape
- smoothing kernel shapekernelFigure
- kernel configurationisCumulative
- are bins painted cumulativelynorm
- normalisation modepublic boolean isCumulative()
public Normalisation getNormalisation()
public javax.swing.Icon getLegendIcon()
Style
getLegendIcon
in interface Style
public Kernel1d createKernel(Axis xAxis, boolean xLog)
xAxis
- axis on which samples occurxLog
- true for logarithmic x axis, false for linearpublic int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
Copyright © 2017 Central Laboratory of the Research Councils. All Rights Reserved.