plot figure in R and store it.

来源:互联网 发布:网络黄金egd未来城app 编辑:程序博客网 时间:2024/05/01 03:44

plot figure in R and store it.


for(interval in c(0,1,10,20,50,100)) {x = read.table(paste0("pred", interval, ".txt") )setEPS()postscript(paste0("inter",interval, ".eps"), height = 7, width = 10)plot(x[,1], type="o", xlab=expression(italic("i")), ylab="detection accuracy", lwd=3, cex.axis=1.4, ylim=c(0.4, 1.0), cex.lab =1.4)dev.off()}


0 0