Plot code and pngs.