/** * Sets the tic interval for the horizontal axis in the specified column. * @param icol the column index. * @param interval the major labeled tic interval. */ public void setHInterval(int icol, double interval) { if (_axesPlacement==AxesPlacement.LEFT_TOP) { _mosaic.getTileAxisTop(icol).setInterval(interval); } else if (_axesPlacement==AxesPlacement.LEFT_BOTTOM) { _mosaic.getTileAxisBottom(icol).setInterval(interval); } }
/** * Sets the tic interval for the vertical axis in the specified column. * @param irow the row index. * @param interval the major labeled tic interval. */ public void setVInterval(int irow, double interval) { if (_axesPlacement!=AxesPlacement.NONE) { _mosaic.getTileAxisLeft(irow).setInterval(interval); } }
/** * Sets the major labeled tic interval in the axis for this color bar. * @param interval the major labeled tic interval. */ public void setInterval(double interval) { _mosaic.getTileAxisRight(0).setInterval(interval); revalidate(); }