Modified plot4.R and plot4.png