Created
March 20, 2013 15:38
-
-
Save RCura/b272bcf056720b0031d3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
myFolder <- "/home/robin/imagesR" | |
test <- runif(n=10) | |
for(i in 1:10){ | |
png(filename=paste(myFolder, "/test_", i, ".png",sep=""), | |
units="in", | |
width=5, | |
height=4, | |
pointsize=12, | |
res=72) | |
if (i==1) { | |
plot(test) | |
title( paste("titre bidon, à l'étape ", i, sep="")) | |
} else { | |
addtest <- runif(n=10) | |
test <- c(test, addtest) | |
plot(test) | |
title( paste("titre bidon, à l'étape ", i, sep="")) | |
} | |
dev.off() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment