uk.ac.starlink.ttools.plot2.layer
Class FixedKernelDensityPlotter
java.lang.Object
uk.ac.starlink.ttools.plot2.layer.Pixel1dPlotter<AbstractKernelDensityPlotter.KDenseStyle>
uk.ac.starlink.ttools.plot2.layer.AbstractKernelDensityPlotter
uk.ac.starlink.ttools.plot2.layer.FixedKernelDensityPlotter
- All Implemented Interfaces:
- Plotter<AbstractKernelDensityPlotter.KDenseStyle>
public class FixedKernelDensityPlotter
- extends AbstractKernelDensityPlotter
Kernel density plotter that uses fixed-width kernels.
- Since:
- 30 Mar 2015
- Author:
- Mark Taylor
Methods inherited from class uk.ac.starlink.ttools.plot2.layer.Pixel1dPlotter |
calculatePixelPlan, createKernel, createLayer, getCoordGroup, getDataBins, getEffectiveExtent, getPixelWidth, getPlotterIcon, getPlotterName, getWeightCoordIndex, hasReports, readBins |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FixedKernelDensityPlotter
public FixedKernelDensityPlotter(FloatingCoord xCoord,
boolean hasWeight)
- Constructor.
- Parameters:
xCoord
- X axis coordinatehasWeight
- true to permit histogram weighting
getKernelConfigKeys
protected ConfigKey[] getKernelConfigKeys()
- Description copied from class:
AbstractKernelDensityPlotter
- Returns a list of keys that specify how the smoothing kernel
will be configured.
- Specified by:
getKernelConfigKeys
in class AbstractKernelDensityPlotter
- Returns:
- list of implementation-specific kernel config keys
createKernelFigure
protected AbstractKernelDensityPlotter.KernelFigure createKernelFigure(ConfigMap config)
- Description copied from class:
AbstractKernelDensityPlotter
- Constructs an object for plot-time kernel construction based on
a particular config map.
- Specified by:
createKernelFigure
in class AbstractKernelDensityPlotter
- Parameters:
config
- config map with kernel config keys in it- See Also:
AbstractKernelDensityPlotter.getKernelConfigKeys()
getPlotterDescription
public String getPlotterDescription()
- Description copied from interface:
Plotter
- Returns an XML description of this plotter.
Note: really this should appear at the LayerType level.
- Returns:
- one or more <p> elements
Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.