Mercurial > repos > davidvanzessen > shm_csr
view plot_pdf.r @ 63:8728284105ee draft
Uploaded
author | davidvanzessen |
---|---|
date | Wed, 06 Dec 2017 08:04:52 -0500 |
parents | 716622f5bb4f |
children |
line wrap: on
line source
library(ggplot2) args <- commandArgs(trailingOnly = TRUE) print(args) input = args[1] outputdir = args[2] setwd(outputdir) load(input) print(names(pdfplots)) for(n in names(pdfplots)){ print(paste("n:", n)) ggsave(pdfplots[[n]], file=n) }