used correct knitr command to produce images