ploting1 code and plot