R code corrected for plots 3 and 4

R code corrected for plots 3 and 4 due to legend problems. Png updated
accordingly.