powered by
A function that gets the height of an xaxisGrob. It is for some reason not included by default in the grid-package.
xaxisGrob
# S3 method for xaxis heightDetails(x)
grid::unit A unit object
grid::unit
unit
The xaxisGrob object
library(grid) grid.newpage() xg <- xaxisGrob(c(1:3)) convertY(grobHeight(xg), "lines")
Run the code above in your browser using DataLab