Mercurial > repos > davidvanzessen > shm_csr
annotate plot_pdf.r @ 68:7b9481fa4a70 draft
Uploaded
author | davidvanzessen |
---|---|
date | Tue, 29 Jan 2019 04:41:57 -0500 |
parents | 716622f5bb4f |
children |
rev | line source |
---|---|
43 | 1 library(ggplot2) |
2 | |
3 args <- commandArgs(trailingOnly = TRUE) | |
4 print(args) | |
5 | |
6 input = args[1] | |
7 outputdir = args[2] | |
8 setwd(outputdir) | |
9 | |
10 load(input) | |
11 | |
12 print(names(pdfplots)) | |
13 | |
14 for(n in names(pdfplots)){ | |
15 print(paste("n:", n)) | |
44 | 16 ggsave(pdfplots[[n]], file=n) |
43 | 17 } |