Examples for 'grid::grid.DLapply'


Modify the Grid Display List

Aliases: grid.DLapply

Keywords: dplot

### ** Examples

grid.newpage()
grid.rect(width=.4, height=.4, x=.25, y=.75, gp=gpar(fill="black"), name="r1")
grid.rect(width=.4, height=.4, x=.5, y=.5, gp=gpar(fill="grey"), name="r2")
grid.rect(width=.4, height=.4, x=.75, y=.25, gp=gpar(fill="white"), name="r3")
plot of chunk example-grid-grid.DLapply-1
grid.DLapply(function(x) { if (is.grob(x)) x$gp <- gpar(); x })
NULL
grid.refresh()
plot of chunk example-grid-grid.DLapply-1

[Package grid version 4.2.3 Index]