Examples for 'grid::grid.frame'


Create a Frame for Packing Objects

Aliases: grid.frame frameGrob

Keywords: dplot

### ** Examples

grid.newpage()
grid.frame(name="gf", draw=TRUE)
plot of chunk example-grid-grid.frame-1
grid.pack("gf", rectGrob(gp=gpar(fill="grey")), width=unit(1, "null"))
plot of chunk example-grid-grid.frame-1
grid.pack("gf", textGrob("hi there"), side="right")
plot of chunk example-grid-grid.frame-1

[Package grid version 4.2.3 Index]