Learn R Programming

ggpattern (version 0.1.3)

get_aspect_ratio_from_coord: Get the aspect ratio from the coord

Description

Get the aspect ratio from the coord

Usage

get_aspect_ratio_from_coord(coord, panel_params)

Arguments

coord

ggplot2 Coord object

panel_params

panel parameters

Value

aspect ratio or NULL if none present in the coord