Wrote the script for the plot1 and plotted it.