Description Usage Arguments Details Examples
Draw the Legends
1 2 |
x |
The |
recording |
Pass to |
This function is actually an S3 method of the Legends
class for the grid.draw
general method. It applies grid.draw
on the grob
slot of the object.
1 2 3 4 | lgd = Legend(at = 1:4, title = "foo")
pushViewport(viewport(x = unit(0, "npc"), y = unit(0, "npc"), just = c("left", "bottom")))
grid.draw(lgd)
popViewport()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.