SOmap
and similar objects contain all of the data and code required to draw a map. This information is embedded in SO_plotter
objects within the SOmap
object.
SO_plotter(plotfun, plotargs = NULL, name = NULL)
An object of class SO_plotter
SOmap
if (FALSE) { # \dontrun{
p <- SOmap()
## replace the `box` element with different plotting code
p$box <- SO_plotter(plotfun = "graphics::box", plotargs = list(col = "red"))
## you can also specify multiple plotting instructions for a single graphical element
## of a map
p$box <- c(SO_plotter(plotfun = "graphics::box", plotargs = list(col = "red")),
SO_plotter(plotfun = "graphics::box", plotargs = list(lwd = 2)))
} # }