for (t in c("line", "torus", "hcube")) {
for (p in c("grid", "cluster")) {
message(sprintf(">>> Drawing: %s%s / %s / %s / %s", m, d, r, p, t))
- pdf(file=sprintf("graphs/%s%s-%s-%s-%s.pdf", m, d, r, p, t))
+ filename <- sprintf("graphs/%s%s-%s-%s-%s.pdf", m, d, r, p, t)
+ pdf(file=filename)
draw2(#subset(ds, grepl("[lt]_plain", Algo)),
draw_mode=m, draw_distrib=d, draw_ratio=r,
draw_topo=t, draw_platform=p)
dev.off()
+ embedFonts(file=filename, options="-dPDFSETTINGS=/prepress")
}
}
}