Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 R 中将以下代码与 gplots 包一起使用:
pdf("filepath") plot(graph) textplot(table, cmar=1) title("My title") dev.off()
我的目标是有一个 2 页的 pdf 文件,其中第 1 页的情节和第 2 页的标题的表格。除了标题之外,一切正常。当我运行时:
textplot(table, cmar=1) title("My title")
它正确显示了我期望的输出。
谢谢