Code Duplication    Length = 4-4 lines in 2 locations

catalog/admin/includes/classes/phplot.php 2 locations

@@ 2185-2188 (lines=4) @@
2182
		}
2183
2184
		//Final_points
2185
		for ($i = 0; $i < $this->records_per_group; $i++) {
2186
			$posarr[$i][] =  $this->xtr($this->max_x);			//x final
2187
			$posarr[$i][] =  $this->ytr($this->x_axis_position); 	//y final
2188
	   	}
2189
2190
		$color_index=0;
2191
@@ 2233-2236 (lines=4) @@
2230
		}
2231
2232
		//Final_points
2233
		for ($i = 0; $i < $this->records_per_group; $i++) {
2234
			$posarr[$i][] =  round($this->xtr($this->max_x + .5));	//x final
2235
			$posarr[$i][] =  $this->ytr($this->x_axis_position); 		//y final
2236
	   	}
2237
2238
		$color_index=0;
2239