adding capture.plots.R

Adding a file.