Make an optimal layout of plots

Share:

Description

Internal function. Using the size of the current device, and number and dimension ratios of the plots, place them optimally in the plotting region.

Usage

1
.makeLayout(arr, visualSqueeze, legend = TRUE, axes = TRUE, title = TRUE)

Arguments

arr

an object of class .arrangement.

visualSqueeze

Numeric. The proportion of the white space to be used for plots. Default is 0.75.

legend

Logical indicating whether legend should be included as part of layout calculation. Default is TRUE.

axes

Logical indicating whether the axes should be included as part of layout calculation. Default is TRUE.

title

Logical indicating whether the names of each plot should be written above plots and should be included as part of layout calculation. Default is TRUE.

Author(s)

Eliot McIntire

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.