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, ...)
Number of figures, N, see layout.
number of subfigures
see matrix
additional arguments for layout or matrix.
for(i in sample(1:32, 1)) { autolayout(i, byrow=TRUE) layout.show(i) }
Run the code above in your browser using DataLab