heightDetails.xaxis | R Documentation |
A function that gets the height of an xaxisGrob
.
It is for some reason not included by default in the grid-package.
## S3 method for class 'xaxis'
heightDetails(x)
x |
The |
grid::unit
A unit
object
library(grid)
grid.newpage()
xg <- xaxisGrob(c(1:3))
convertY(grobHeight(xg), "lines")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.