Draws each tile as a rectangle (grey border) with the original raster
extent overlaid as a dashed red outline.
# S3 method for class 'grout_tiles'
plot(x, ..., add = FALSE, border = "grey", lwd = 2)
Arguments
- x
a `"grout_tiles"` object from [grout()].
- ...
passed to [vaster::plot_extent()].
- add
add to the current plot? Default `FALSE`.
- border
colour for the tile borders. Default `"grey"`.
- lwd
line width for tile borders. Default `2`.
Value
the input 'x', invisibly
Examples
g <- grout(c(44, 30), blocksize = c(12L, 12L))
plot(g)
## overlay a second scheme
g2 <- grout(c(44, 30), blocksize = c(8L, 8L))
plot(g2, add = TRUE, border = "steelblue")