Ejemplo n.º 1
0
 /**
  * Sets the bins to the x and y axes and creates the buffer of the histogram
  *
  * @param bx number of bins on the x axis
  * @param xmin the minimum value on the x axis
  * @param xmax the maximum value on the x axis
  * @param by number of bins on the y axis
  * @param ymin the minimum value on the y axis
  * @param ymax the maximum value on the y axis
  */
 public final void set(int bx, double xmin, double xmax, int by, double ymin, double ymax) {
   xAxis.set(bx, xmin, xmax);
   yAxis.set(by, ymin, ymax);
   offset = new MultiIndex(bx, by);
   int buff = offset.getArraySize();
   hBuffer = new double[buff];
 }