Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/OpenGraphicsDevice.R
This function starts the device driver for producing graphics.
1 2 | OpenGraphicsDevice(file, type = "windows", w = 7, h = 7, p = 12,
res = 300, win.title = "Save As")
|
file |
|
type |
|
w, h |
|
p |
|
res |
|
win.title |
|
A "postscript"
graphics device produces an Encapsulated PostScript (eps) file and is recommended for figures of publication quality.
A plot device is opened.
J.C. Fisher
postscript
, pdf
, png
1 2 3 4 5 6 7 8 | OpenGraphicsDevice(type = "windows")
plot(1:3)
dev.off()
## Not run:
OpenGraphicsDevice(type = "pdf")
plot(1:3)
dev.off()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.