Last chance! 50% off unlimited learning
Sale ends in
max_text_height(text, ...)
textGrob
unit
object.textGrob
objects.max_text_height
is always used to calculate the size of viewport when there is text annotation (anno_text
)x = c("a", "b
b", "c
c
c")
max_text_height(x, gp = gpar(fontsize = 10))
Run the code above in your browser using DataLab