R语言中layout函数设置画板布局
001、
layout(matrix(c(2,0,1,3), 2, 2, byrow = T), widths = c(5, 2), heights = c(2,5)) ## 设置画板布局 par(mar = c(2, 2, 2, 2)) plot(1:10, cex = 2, pch = 19, col = "red") text(5,5,"11111") par(mar = c(2, 2, 2, 2)) plot(1:10, cex = 2, pch = 19, col = "blue") text(5,5,"2222") par(mar = c(2, 2, 2, 2)) plot(1:10, cex = 2, pch = 19, col = "purple") text(5,5,"3333")
。