squareLayout | R Documentation |
Plan a square/matrix layout of plots
squareLayout(n)
n |
Number of plots |
A vector of integers of length 2. Can be passed to layout
or
mfrow
in par
to make the layout.
Jitao David Zhang <jitao_david.zhang@roche.com>
## Not run:
op <- par(mfrow=squareLayout(7))
plot(1:5)
plot(2:6)
plot(3:7)
plot(-9:-4)
plot(8:5)
plot(5:1)
plot(1:9)
par(op)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.