Control of surface plasmon excitation via the scattering of light by a nanoparticle