add code and figure for plot1
add code and figure for plot2
add code and figure for plot3
add code and figure for plot4