/** * Adds a contours view with the function f(x1,x2). * Function f(x1,x2) assumed to have uniform sampling. * @param irow the tile row index. * @param icol the tile column index. * @param f array[n2][n1] of sampline function values f(x1,x2), where * n1 = f[0].length and n2 = f.length. * @return a contours view. */ public ContoursView addContours(int irow, int icol, float[][] f) { ContoursView cv = new ContoursView(f); return addContoursView(irow,icol,cv); }
/** * Adds a contours view of the specified sampled function f(x1,x2). * @param irow the tile row index. * @param icol the tile column index. * @param s1 the sampling of the variable x1; must be uniform. * @param s2 the sampling of the variable x2; must be uniform. * @param f array[n2][n1] of sampled function values f(x1,x2), * where n1 = f[0].length and n2 = f.length. * @return the contours view. */ public ContoursView addContours( int irow, int icol, Sampling s1, Sampling s2, float[][] f) { ContoursView cv = new ContoursView(s1,s2,f); return addContoursView(irow,icol,cv); }