Chapter 11: add t on axis; update for new version of knitr