Function for plot groups added.