/** * Sets limits for the horizontal axis. * By default, limits are computed automatically by tiled graphical views. * This method can be used to override those default limits. * @param hmin the minimum value. * @param hmax the maximum value. */ public void setHLimits(double hmin, double hmax) { Check.argument(hmin<hmax,"hmin<hmax"); if(_bhp!=null &&_bhp.isLog()) Check.argument(hmin>0,"hmin>0 for LOG scales"); _shp = new Projector(hmin,hmax); alignProjectors(); }
/** * Sets limits for the vertical axis. * By default, limits are computed automatically by tiled graphical views. * This method can be used to override those default limits. * @param vmin the minimum value. * @param vmax the maximum value. */ public void setVLimits(double vmin, double vmax) { Check.argument(vmin<vmax,"vmin<vmax"); if(_bvp!=null && _bvp.isLog()) Check.argument(vmin>0,"vmin>0 for LOG scales"); if(_bvp.v0()<_bvp.v1()) _svp = new Projector(vmin,vmax); else _svp = new Projector(vmax,vmin); alignProjectors(); }