nativeRaster
R/nr-draw.R
nr_point.Rd
Draw points on a nativeRaster image
nr_point(nr, x, y, color = "black")
Vectors of point coordinates
Vector of colors
Original nativeRaster modified in-place
N <- 20 nr <- nr_new(N, N, 'grey80') nr_point(nr, x = seq(N), y = seq(N), color = rainbow(N)) plot(nr)