powered by
Automatic version of function layout for given number of subplots. Defined matrix schemes for layout for up to 32 subfigures.
layout
autolayout(N, byrow = TRUE, ...)
Returns the number of figures, N, see layout.
number of subfigures
see matrix
matrix
additional arguments for layout or matrix.
Florian Jansen
layout; matrix
for(i in sample(1:32, 1)) { autolayout(i, byrow=TRUE) layout.show(i) }
Run the code above in your browser using DataLab