您的位置:首页 > 其它

plot figure in R and store it.

2014-05-05 01:59 232 查看
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()
}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐