code for plot1
code for plot2
code for plot3
code for plot4