heightDetails.xaxis: Gets the height for an x-axis object

View source: R/grid_helpers.R

heightDetails.xaxisR Documentation

Gets the height for an x-axis object

Description

A function that gets the height of an xaxisGrob. It is for some reason not included by default in the grid-package.

Usage

## S3 method for class 'xaxis'
heightDetails(x)

Arguments

x

The xaxisGrob object

Value

grid::unit A unit object

Examples

library(grid)
grid.newpage()
xg <- xaxisGrob(c(1:3))
convertY(grobHeight(xg), "lines")

forestplot documentation built on Aug. 26, 2023, 5:07 p.m.