Updated plot1

removed an unnecessary function and changed the range of the y axis.