📜  保存网格绘制 r - 任何代码示例

📅  最后修改于: 2022-03-11 14:56:40.005000             🧑  作者: Mango

代码示例1
## Initiate writing to PDF file
pdf("path/to/file/PDFofG.pdf", height = 11, width = 8.5, paper = "letter")

## Create a graphical object g here
g # print it

## Stop writing to the PDF file
dev.off()