lib/ class. PHPlot.php

Summary
$y_tmp never equals $y_end at the for loop, so one spurious line would get drawn where not for the substraction to $y_end here.
$x_tmp never equals $x_end at the for loop, so one spurious line would get drawn where not for the substraction to $x_end here.

Variables

“numcol-numtrans-numcol-numtrans...”

When working with floats, because of approximations when adding $delta_y,

$y_tmp never equals $y_end at the for loop, so one spurious line would get drawn where not for the substraction to $y_end here.

When working with decimals, because of approximations when adding $delta_x,

$x_tmp never equals $x_end at the for loop, so one spurious line would get drawn where not for the substraction to $x_end here.