Add plot 4 code.