R Code for Plot 4
PNG image for Plot 4