Lines Matching refs:Factor
3209 $Factor = 1;
3224 $Scale1 = ($this->VMax - $this->VMin) / $Factor;
3225 $Scale2 = ($this->VMax - $this->VMin) / $Factor / 2;
3239 $Factor = $Factor * 10;
3242 $Factor = $Factor / 10;
3247 if(floor($this->VMax / $Scale / $Factor) != $this->VMax / $Scale / $Factor) {
3248 $GridID = floor($this->VMax / $Scale / $Factor) + 1;
3249 $this->VMax = $GridID * $Scale * $Factor;
3253 if(floor($this->VMin / $Scale / $Factor) != $this->VMin / $Scale / $Factor) {
3254 $GridID = floor($this->VMin / $Scale / $Factor);
3255 $this->VMin = $GridID * $Scale * $Factor;
3271 $Factor = 1;
3293 if($Factor == 0) throw new Exception('Division by zero whne calculating scales (should not happen)');
3295 $Scale1 = ($maxVal - $minVal) / $Factor;
3296 $Scale2 = ($maxVal - $minVal) / $Factor / 2;
3310 $Factor = $Factor * 10.0;
3313 $Factor = $Factor / 10.0;
3318 if(floor($maxVal / $Scale / $Factor) != $maxVal / $Scale / $Factor) {
3319 $GridID = floor($maxVal / $Scale / $Factor) + 1;
3320 $maxVal = $GridID * $Scale * $Factor;
3324 if(floor($minVal / $Scale / $Factor) != $minVal / $Scale / $Factor) {
3325 $GridID = floor($minVal / $Scale / $Factor);
3326 $minVal = $GridID * $Scale * $Factor;