Creating plot 1 and its code