Class DensityScatterPlot

    • Field Detail

      • m_NumBins

        protected int m_NumBins
        the number of bins to generate on X and Y.
      • m_Bandwidth

        protected double m_Bandwidth
        the bandwidth.
      • m_Orientation

        protected Orientation m_Orientation
        the plot orientation.
    • Constructor Detail

      • DensityScatterPlot

        public DensityScatterPlot()
    • Method Detail

      • modeTipText

        public String modeTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setNumBins

        public void setNumBins​(int value)
        Sets the number of bins to generate on X and Y axis.
        Parameters:
        value - the number of bins
      • getNumBins

        public int getNumBins()
        Returns the number of bins to generate on X and Y axis.
        Returns:
        the number of bins
      • numBinsTipText

        public String numBinsTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setBandwidth

        public void setBandwidth​(double value)
        Sets the bandwidth for kernel density estimates.
        Parameters:
        value - the bandwidth
      • getBandwidth

        public double getBandwidth()
        Returns the bandwidth for kernel density estimates.
        Returns:
        the bandwidth
      • bandwidthTipText

        public String bandwidthTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setGenerator

        public void setGenerator​(ColorGradientGenerator value)
        Sets the color generator.
        Parameters:
        value - the generator
      • getGenerator

        public ColorGradientGenerator getGenerator()
        Returns the color generator.
        Returns:
        the generator
      • generatorTipText

        public String generatorTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setOrientation

        public void setOrientation​(Orientation value)
        Sets the orientation for the plot.
        Parameters:
        value - the orientation
      • getOrientation

        public Orientation getOrientation()
        Returns the orientation for the plot.
        Returns:
        the orientation
      • orientationTipText

        public String orientationTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • createPaintScale

        protected org.jfree.chart.renderer.PaintScale createPaintScale​(double min,
                                                                       double max)
        Creates the paintscale to use.
        Returns:
        the scale
      • doGenerate

        protected org.jfree.chart.JFreeChart doGenerate​(org.jfree.data.xy.XYDataset data)
        Performs the actual generation of the chart.
        Specified by:
        doGenerate in class AbstractChartGenerator<org.jfree.data.xy.XYDataset>
        Parameters:
        data - the data to use
        Returns:
        the chart