Ko-Kang Kevin Wang wrote:>
> Hi,
>
> I've been trying out postscript() when onefile is set to FALSE.
However
> I'm having trouble understanding the documentation for postscript().
>
> Suppose I want to do:
> plot(1:10)
> plot(1:10, type = "l")
> and store them in foo.ps and goo.ps. Furthermore, I'd like to do then
> with one postscript() command -- because this is just a simplified version
> of what I really need (i.e. much more than two plots). Can I do something
> like:
> postscript(c("foo.ps", "goo.ps"), onefile = FALSE)
The docs don't mention that you can specify a vector of filenames: "For
use with onefile=FALSE give a printf format such as "Rplot%03d.ps"
(the
default in that case)."
If you have specific filenames (i.e. a fixed number of plots), it's easy
to call postscript several times, isn't it?
> plot(1:10)
> plot(1:10, type = "l")
> dev.off()
> it doesn't work...
>
> Cheers,
>
> Kevin
Uwe Ligges
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at
stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._