powered by
Creates a vector of randomly-generated colors.
rcolors(n)
A vector of colors
Vector length
Matt Tyers
n <- 1000 cols <- rcolors(n) x <- runif(n) y <- runif(n) plot(x,y, col=cols, pch=16)
Run the code above in your browser using DataLab