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

Description Usage Arguments Value Examples

View source: R/grid_helpers.R

Description

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

Usage

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

Arguments

x

The xaxisGrob object

Value

grid::unit A unit object

Examples

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

raredd/Gmisc0 documentation built on May 27, 2019, 2:02 a.m.