Description Usage Arguments Details Value Author(s) See Also Examples
Maximum height of text
1 |
text |
a vector of text |
... |
pass to |
Simply calculate maximum height of a list of textGrob
objects.
A unit
object.
Zuguang Gu <z.gu@dkfz.de>
max_text_height
is always used to calculate the size of viewport when there is text annotation (anno_text
)
1 2 | x = c("a", "b\nb", "c\nc\nc")
max_text_height(x, gp = gpar(fontsize = 10))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.