rnw file for paper figures