Draw points on a nativeRaster image

nr_point(nr, x, y, color = "black")

Arguments

nr

nativeRaster

x, y

Vectors of point coordinates

color

Vector of colors

Value

Original nativeRaster modified in-place

Examples

N <- 20
nr <- nr_new(N, N, 'grey80')
nr_point(nr, x = seq(N), y = seq(N), color = rainbow(N)) 
plot(nr)