The four plots and their respective R Codes