Added code for plot1 to screen