Add plot 3 code.