Learn R Programming

plotcli (version 0.2.0)

create_panel_scales: Create Scales for a Single Panel

Description

Create Scales for a Single Panel

Usage

create_panel_scales(panel_params, plot_width, plot_height, has_border = FALSE)

Value

List with scale functions

Arguments

panel_params

Panel parameters from ggplot_build

plot_width

Pixel width

plot_height

Pixel height

has_border

Whether a border will be drawn (adds padding)