The control and tuning of the optical properties of materials and the localization of electromagnetic energy are long standing quests for scientists. Not only it allows to design new classes of adaptive devices such as smart windows but also to perform surface enhanced vibrational spectroscopies such a SERS.For metallic nanostructured systems, the optical properties are directly related to collective electronic excitation (plasmons) and they depend mainly on the composition, shape and size of the system. Doped semiconductors such as Indium Tin Oxide have been also shown to display active plasmon, i.e., optical excitations that can be easily controlled by an external stimulus, e.g. a static electric potential [1].In 2D materials, an electrostatic doping is common due to the low density of state at the Fermi energy. Moreover, anisotropy plays a very specific role [2] and surface plasmon became 1D plasmon. In this presentation, based on numerical simulations, we analyze the plasmon excitation associated to edge of 2D materials or to metallic mirror twin boundaries in Transition Metal Dichalcogenide [3]. Doped graphene [4] nanodots or shape engineering in wrinkled structures will also be discussed.[1] A. Maho et al. Solar Energy Materials and Solar Cells 200 (2019) 110014[2] B. Majerus et al. Phys. Rev. B 98 (2018) 125419[3] A. A. Koos et al. J. Phys. Chem 123 (2019) 24855[4] F. Joucken et al. Phys. Rev. Mat. 3 (2019) 110301