Generating plot1