jhplot
Class H2D

java.lang.Object
  extended by jhplot.DrawOptions
      extended by jhplot.H2D

public class H2D
extends DrawOptions

Main class to creat 2D histogram. Based on JAIDA class Histogram2D


Constructor Summary
H2D(Histogram2D h1)
          Create a H2D histogram from JAIDA histogram
H2D(java.lang.String title, int binsX, double minX, double maxX, int binsY, double minY, double maxY)
          Create 2D histogram
 
Method Summary
 void fill(double value1, double value2)
          Fill H1D histogram
 Histogram2D get()
          Get the JAIDA Histogram2D
 
Methods inherited from class jhplot.DrawOptions
getBinWidth, getDrawOption, getDrawOptions, getLegend, getNameX, getNameY, getNameZ, getTitle, getType, printDrawOptions, printDrawOptions, setBinWidth, setColor, setDrawLine, setDrawOption, setDrawSymbol, setErr, setErrAll, setErrColor, setErrColorX, setErrColorY, setErrFill, setErrFillColor, setErrFillColor, setErrSys, setErrSysFill, setErrSysFillColor, setErrSysFillColor, setErrSysX, setErrSysY, setErrX, setErrY, setFill, setFillColor, setFillColorTransparency, setGraphStyle, setLegend, setNameX, setNameY, setNameZ, setPenDash, setPenDash, setPenWidth, setPenWidthErr, setPenWidthErrSys, setStyle, setSymbol, setSymbolSize, setTitle, setType
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

H2D

public H2D(java.lang.String title,
           int binsX,
           double minX,
           double maxX,
           int binsY,
           double minY,
           double maxY)
Create 2D histogram

Parameters:
title - Title
binsX - Number of bins in X
minX - Min value in X
maxX - Max value in X
binsY - Number of bins in Y
minY - Min value in Y
maxY - Max value in Y

H2D

public H2D(Histogram2D h1)
Create a H2D histogram from JAIDA histogram

Parameters:
h1 - Histogram2D histogram
Method Detail

get

public Histogram2D get()
Get the JAIDA Histogram2D

Returns:
Histogram2D

fill

public void fill(double value1,
                 double value2)
Fill H1D histogram

Parameters:
value1 - value in X
value2 - value in Y


jHepWork 1.1 (C) Chekanov