plot 1 code