Plot a native raster image (after first clearning the device)

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

Arguments

x

native raster image

y

ignored

...

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

Value

Invisibly return the supplied native raster image

Examples

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