sync.ylab.widths: sync.ylab.widths

sync.ylab.widthsR Documentation

sync.ylab.widths

Description

Aligns the widths of ggplot objects to ensure common plot regions. The maximum length required for y-axis labels among the list is determined and applied to the other plots. This assists in syncing the widths of ggplot objects for the purpose of align figures on a page.

Usage

sync.ylab.widths(gg.list, default.length = 2)

Arguments

gg.list

a list of ggplot objects (sync.ylab.widths)

default.length

set to 2

Value

A ggplot object is returned.

Author(s)

Greg Cicconetti


figuRes2 documentation built on Sept. 9, 2022, 9:06 a.m.