Completed plot1 for assignment