plot1, 2, 3 and 4 R scripts modified.

plot1, 2, 3 and 4 R scripts modified.