Friday, December 7, 2012

Save R Plot in EPS format


Save R Plot in EPS format

Here is a code example of how to save an R plot in EPS (instead of PS):
postscript(file="testplot.eps",
           paper="special",
           width=10,
           height=10,
           horizontal=FALSE)

yvalues = runif(50)
plot(yvalues)

dev.off()

No comments:

Post a Comment