Optical switching and bistability in T-shaped nanoplasmonic waveguide