lay_show: Print the layout structure to the graphical device.

Description Usage Arguments Value Examples

View source: R/utils.R

Description

Print the layout structure to the graphical device.

Usage

1
2
3

Arguments

layout

an object of class Layout.

Value

No return value, called for side effects.

Examples

1
2
3
4
5
6
7
8
9
l1 <- lay_new(matrix(c(1:2), ncol = 2), widths = c(4, 1))
l2 <- lay_new(matrix(c(1:3), ncol = 3), widths = c(2, 1, 3))
l3 <- lay_bind_row(l1, l2, heights = c(2, 1))
lay_show(l3)

l4 <- lay_new(matrix(c(1:2), ncol = 2), widths = c(4, 1))
l5 <- lay_new(matrix(c(1:3), ncol = 1), heights = c(2, 1, 1))
l6 <- lay_bind_col(l4, l5, widths = c(1, 1))
lay_show(l6)

zzawadz/customLayout documentation built on June 9, 2021, 11:10 a.m.