Adding plots and their codes