Code for plot 4
plot 4 Figure