Adding the templates of the plot