[R] how to print a plot
Jason Turner
jasont at indigoindustrial.co.nz
Mon Sep 15 23:58:02 CEST 2003
On Tue, 2003-09-16 at 08:56, Weiming Zhang wrote:
> Hi,
>
> I am using R-1.7.1 on Linux. I integrated XEMACS with R. Could anybody
> tell me how to print a plot? I used plot function to make some graphs
> and then I wanted to print them or to save them to files. But I could
> not find out how to do it.
Have you tried:
help(Devices)
help(pdf)
What I do:
pdf(file="myplots.pdf")
plot(...)
dev.off()
Use Acrobat or gv to view the pdf files. Postscript is also good, but
not as universally understood; I have many coleagues who work in very
standard Windows environments, where ghostscript is unknown. PDF is a
very sensible choice for e-mailing graphs.
--
Indigo Industrial Controls Ltd.
http://www.indigoindustrial.co.nz
+64-(0)21-343-545
More information about the R-help
mailing list