/** * Adds a view of bars x2 for a sampled function x2(x1). * @param irow the tile row index. * @param icol the tile column index. * @param s1 the sampling of the variable x1; must be uniform. * @param x2 array of x2 values. * @return the bars view. */ public BarsView addBars(int irow, int icol, Sampling s1, float[] x2) { BarsView bv = new BarsView(s1,x2); return addBarsView(irow,icol,bv); }
/** * Adds a bars view of the array of arrays x2 of bar values and x2.length * plot segments. * @param irow the tile row index. * @param icol the tile column index. * @param x2 array of arrays of x2 values. * @return the bars view. */ public BarsView addBars(int irow, int icol, float[][] x2) { BarsView bv = new BarsView(x2); return addBarsView(irow,icol,bv); }
/** * Adds a bars view of the array x2 of bar values. * @param irow the tile row index. * @param icol the tile column index. * @param x2 array of x2 values. * @return the bars view. */ public BarsView addBars(int irow, int icol, float[] x2) { BarsView bv = new BarsView(x2); return addBarsView(irow,icol,bv); }
/** * Adds a bars view of the array of arrays x2 of bar values and x2.length * plot segments for a sample function x2(x1). * @param irow the tile row index. * @param icol the tile column index. * @param s1 the sampling of the variable x1; must be uniform. * @param x2 array of array of x2 values. * @return the bars view. */ public BarsView addBars(int irow, int icol, Sampling s1, float[][] x2) { BarsView bv = new BarsView(s1,x2); return addBarsView(irow,icol,bv); }