Skip to contents

Compute figure width and height from a panel specification

Usage

get_fig_size_cm(spec, ncol = 1, nrow = 1)

Arguments

spec

Canonical panel specification name.

ncol

Number of panel columns.

nrow

Number of panel rows.

Value

A named list with width and height in cm.