The plot shows the effect of smoothing the potential for various values of the smoothing length. In the 3 dimensional case we smooth the potential in order to avoid the singularity in the case
$`d -> 0`$. The choice of the smoothing length depends mainly on the resolution: as a rule of the thumb the minimum smoothing length should correspond to the size of about 4 grid cells.