Plot a nativeRaster as an image

# S3 method for nativeRaster
plot(x, y, ...)

Arguments

x

nativeRaster

y

any argument here will cause grid::grid.newpage() to be called prior to drawing the nativeRaster

...

other arguments passed to grid::grid.raster()

Value

None.

Examples

nr <- nr_new(200, 100, 'hotpink')
plot(nr)