Use random plot id
Add knitr_print function