|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.ttools.plot2.layer.AbstractKernelDensityPlotter.KDenseStyle
public static class AbstractKernelDensityPlotter.KDenseStyle
Style subclass for kernel density plots.
Constructor Summary | |
---|---|
AbstractKernelDensityPlotter.KDenseStyle(Color color,
FillMode fill,
Stroke stroke,
Kernel1dShape kernelShape,
AbstractKernelDensityPlotter.KernelFigure kernelFigure,
boolean isCumulative,
Normalisation norm)
Constructor. |
Method Summary | |
---|---|
Kernel1d |
createKernel(Axis xAxis,
boolean xLog)
Constructs a smoothing kernel suitable for this style. |
boolean |
equals(Object o)
|
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. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractKernelDensityPlotter.KDenseStyle(Color color, FillMode fill, 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 modeMethod Detail |
---|
public boolean isCumulative()
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 linear
public int hashCode()
hashCode
in class Object
public boolean equals(Object o)
equals
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |