Description Usage Arguments Value Examples
rectangular grob with raster fill pattern
1 2 3 4 5 6  | 
x | 
 x unit  | 
y | 
 y unit  | 
width | 
 width  | 
height | 
 height  | 
motif | 
 motif  | 
AR | 
 AR  | 
motif.width | 
 motif.width  | 
motif.height | 
 motif.height  | 
pattern.offset | 
 pattern.offset  | 
default.units | 
 default.units  | 
clip | 
 clip  | 
gp | 
 gp  | 
... | 
 additional params passed to the grob  | 
grob of class rpattern
1 2 3  | .lines45 <- matrix("white", ncol=100, nrow=100)
diag(.lines45) <- "black"
grid.rpattern(motif=.lines45)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.