Class Histogram2D

java.lang.Object
cbsw.gui.Histogram2D

public class Histogram2D extends Object
  • Field Details

    • chart

      public org.jfree.chart.JFreeChart chart
    • plot

      public org.jfree.chart.plot.XYPlot plot
    • renderer

      public org.jfree.chart.renderer.xy.XYBlockRenderer renderer
    • theme

      static org.jfree.chart.StandardChartTheme theme
    • currentIndex

      public int currentIndex
    • paintScale

      static org.jfree.chart.renderer.LookupPaintScale paintScale
  • Constructor Details

    • Histogram2D

      public Histogram2D(String title)
  • Method Details

    • setPaintScale

      public void setPaintScale(double lowerBound, double upperBound, double saturationBound)
    • getChart

      public org.jfree.chart.JFreeChart getChart()
    • getDataset

      public org.jfree.data.xy.DefaultXYZDataset getDataset()
    • keys

      public Comparable[] keys()
    • clear

      public void clear()
    • chooseFile

      public File chooseFile(String fileExtension, String fileDescription)
    • saveAsPNG

      public void saveAsPNG()
    • saveAsPNG

      public void saveAsPNG(File file)
    • saveAsSVG

      public void saveAsSVG()
    • saveAsSVG

      public void saveAsSVG(File file)
    • readStream

      public void readStream(BufferedReader stream) throws IOException, Histogram2D.EOFException
      Throws:
      IOException
      Histogram2D.EOFException
    • createInfernoPaintScale

      static org.jfree.chart.renderer.LookupPaintScale createInfernoPaintScale(double lowerBound, double upperBound, double saturationBound)