Learn R Programming

eHOF (version 1.16)

autolayout: Automatically Specifying Complex Plot Arrangements

Description

Automatic version of function layout for given number of subplots. Defined matrix schemes for layout for up to 32 subfigures.

Usage

autolayout(N, byrow = TRUE, ...)

Value

Number of figures, N, see layout.

Arguments

N

number of subfigures

byrow

see matrix

...

additional arguments for layout or matrix.

Examples

Run this code
for(i in sample(1:32, 1)) {
 autolayout(i, byrow=TRUE)
 layout.show(i)
 }

Run the code above in your browser using DataLab