虽然无法通过textGrob为主,以do.call( “arrangeGrob”)
作品就好了,
test <- do.call("arrangeGrob", c(plots.list[1:2],ncol=2,main=textGrob("test")))
提供了以下错误:
"Error in arrangeGrob(list(grobs = list(list(x = 0.5, y = 0.5, width = 1, : input must be grobs!"
我需要主要是textGrob为了设置字体大小和字体。任何人有一个想法,我在做什么错了?
我试过'arrangeGrob(grobs = plots.list [1:4],ncol = 2)'但stil得到错误'输入必须是grobs!'。 'arrangeGrob(plots.list [[1]],plots.list [[2]],plots.list [[3]],plots.list [[4]],ncol = 2)'的作品。 do.call提示工作虽然!非常非常感谢你! –