% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/raster_plots.R \name{start_rasterplot} \alias{start_rasterplot} \title{start_rasterplot} \usage{ start_rasterplot(width = NULL, height = NULL) } \arguments{ \item{width}{Width in pixels of raster image} \item{height}{Height in pixels of raster image. In general only one of \code{width} or \code{height} should be provided.} } \description{ Start a raster plot with indicated width or height in pixels } \details{ This creates a Cairo device with output to /dev/null of width or height given (defaulting to a width of 1024) } \examples{ \dontrun{ ### plot a raster plot in a PDF pdf() start_rasterplot() print(xyplot(y~x, data=data.frame(y=rnorm(1E8),x=rnorm(1E8)))) stop_rasterplot() dev.off() } ### plot a raster plot using grid.raster start_rasterplot(width=100) print(plot(y~x, data=data.frame(y=rnorm(1E4), x=rnorm(1E4)))) raster.image <- stop_rasterplot(plot=FALSE) grid::grid.raster(raster.image) } \author{ Don Armstrong }