Class DensityPlot

All Implemented Interfaces:
ImageObserver, MenuContainer, Printable, Serializable

public class DensityPlot extends SurfacePlot
Component which can display a density plot, which is to say, a two-dimensional histogram.
Since:
29 Nov 2005
Author:
Mark Taylor
See Also:
  • Constructor Details

    • DensityPlot

      public DensityPlot(PlotSurface surface)
      Constructor.
      Parameters:
      surface - plotting surface to receive pixels
  • Method Details

    • setState

      public void setState(PlotState state)
      Description copied from class: TablePlot
      Sets the plot state for this plot. This characterises how the plot will be done next time this component is painted.
      Overrides:
      setState in class SurfacePlot
      Parameters:
      state - plot state
    • getPlottedPointIterator

      public PointIterator getPlottedPointIterator()
      Returns an iterator over the points plotted last time this component plotted itself.
      Returns:
      point iterator
    • getPointPlacer

      public PointPlacer getPointPlacer()
      Returns a point placer suitable for this plot.
      Returns:
      point placer
    • getBinnedData

      public BinGrid[] getBinnedData()
      Returns the binned grid(s) corresponding to the image currently displayed by this component.
      Returns:
      binned data object(s)