Skip to content
Prev 66705 / 398525 Next

Multi-plot figures with different numbers of plots indifferent rows

Hi
Earl F. Glynn wrote:
Does this do what you want?

layout(rbind(c(1, 2, 3),
              c(0, 4, 0)))
plot(1:10, main="Plot 1")
plot(1:20, main="Plot 2")
plot(1:30, main="Plot 3")
plot(1:40, main="Plot 4")
# new page!
plot(1:40, main="Plot 5")

Paul