Class HistogramPlotter

java.lang.Object
uk.ac.starlink.ttools.plot2.layer.HistogramPlotter
All Implemented Interfaces:
Plotter<HistogramPlotter.HistoStyle>

public class HistogramPlotter extends Object implements Plotter<HistogramPlotter.HistoStyle>
Plotter for 1-dimensional histograms. This only works on plane plots.
Since:
8 Jan 2014
Author:
Mark Taylor
  • Field Details

    • BINS_KEY

      public static final ReportKey<BinBag> BINS_KEY
      ReportKey for histogram bins.
    • BINWIDTH_KEY

      public static final ReportKey<Double> BINWIDTH_KEY
      ReportKey for actual bin width.
    • BINTABLE_KEY

      public static final ReportKey<uk.ac.starlink.table.StarTable> BINTABLE_KEY
      ReportKey for tabular result of plot.
    • BINSIZER_KEY

      public static final ConfigKey<BinSizer> BINSIZER_KEY
      Config key for bin size configuration.
    • THICK_KEY

      public static final ConfigKey<Integer> THICK_KEY
      Config key for bar line thickness.
    • PHASE_KEY

      public static final ConfigKey<Double> PHASE_KEY
      Config key for bar phase.
  • Constructor Details

    • HistogramPlotter

      public HistogramPlotter(FloatingCoord xCoord, boolean hasWeight, PerUnitConfigKey<Unit> unitKey)
      Constructor.
      Parameters:
      xCoord - X axis coordinate
      hasWeight - true to permit histogram weighting
      unitKey - config key to select X axis physical units, or null if no unit selection required
  • Method Details