1 % Generated by roxygen2 (4.1.1): do not edit by hand
2 % Please edit documentation in R/raster_plots.R
3 \name{start_rasterplot}
4 \alias{start_rasterplot}
5 \title{start_rasterplot}
7 start_rasterplot(width = NULL, height = NULL)
10 \item{width}{Width in pixels of raster image}
12 \item{height}{Height in pixels of raster image. In general only
13 one of \code{width} or \code{height} should be provided.}
16 Start a raster plot with indicated width or height in pixels
19 This creates a Cairo device with output to /dev/null of width or
20 height given (defaulting to a width of 1024)
24 ### plot a raster plot in a PDF
28 data=data.frame(y=rnorm(1E8),x=rnorm(1E8))))
33 ### plot a raster plot using grid.raster
34 start_rasterplot(width=100)
36 data=data.frame(y=rnorm(1E4),
38 raster.image <- stop_rasterplot(plot=FALSE)
39 grid.raster(raster.image)