Completed plot1,plot2 and plot3