public static class AbstractKernelDensityPlotter.KDenseStyle extends Object implements Style
Constructor and Description |
---|
KDenseStyle(Color color,
FillMode fill,
Stroke stroke,
Kernel1dShape kernelShape,
AbstractKernelDensityPlotter.KernelFigure kernelFigure,
Combiner combiner,
Unit unit,
Cumulation cumulative,
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(Object o) |
Cumulation |
getCumulative()
Returns cumulative mode.
|
Icon |
getLegendIcon()
Returns an icon suitable for displaying in a legend for this style.
|
Normalisation |
getNormalisation()
Returns normalisation mode.
|
int |
hashCode() |
public KDenseStyle(Color color, FillMode fill, Stroke stroke, Kernel1dShape kernelShape, AbstractKernelDensityPlotter.KernelFigure kernelFigure, Combiner combiner, Unit unit, Cumulation cumulative, Normalisation norm)
color
- plot colourfill
- fill modestroke
- line stroke, null for filled areakernelShape
- smoothing kernel shapekernelFigure
- kernel configurationcombiner
- bin aggregation modeunit
- axis unit scalingcumulative
- are bins painted cumulativelynorm
- normalisation modepublic Cumulation getCumulative()
public Normalisation getNormalisation()
public 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 linearCopyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.