Code Duplication    Length = 4-5 lines in 2 locations

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

@@ 1659-1663 (lines=5) @@
1656
		}
1657
1658
		//Ticks to the Left of the Plot Area
1659
		if (($this->vert_tick_position == "plotleft") || ($this->vert_tick_position == "both") ) {
1660
			ImageLine($this->img,(-$this->tick_length+$yaxis_x),
1661
			$y_pixels,$yaxis_x,
1662
			$y_pixels, $this->ndx_tick_color);
1663
		}
1664
1665
		//Ticks to the Right of the Plot Area
1666
		if (($this->vert_tick_position == "plotright") || ($this->vert_tick_position == "both") ) {
@@ 1673-1676 (lines=4) @@
1670
		}
1671
1672
		//Ticks on the Y Axis
1673
		if (($this->vert_tick_position == "yaxis") ) {
1674
			ImageLine($this->img,($yaxis_x - $this->tick_length),
1675
			$y_pixels,$yaxis_x,$y_pixels,$this->ndx_tick_color);
1676
		}
1677
1678
		//DataLabel
1679
//ajo working