prGetBoxAxisDefaults: Get default from/to values for an axis Get default from/to...

View source: R/boxGrobs_spread_npc_norm_helpers.R

prGetBoxAxisDefaultsR Documentation

Get default from/to values for an axis Get default from/to values for an axis

Description

When axis is "x", the default is from 0 to 1 npc, i.e. left to right. When axis is "y", the default is from 1 to 0 npc, i.e. top to bottom.

Usage

prGetBoxAxisDefaults(axis = c("x", "y"))

Arguments

axis

Axis, either "x" or "y"

Value

A list with 'from' and 'to' values as 'unit' objects


Gmisc documentation built on March 6, 2026, 9:09 a.m.