Skip to content

Instantly share code, notes, and snippets.

@jeffreyiacono
Created February 9, 2013 21:43
Show Gist options
  • Select an option

  • Save jeffreyiacono/4747241 to your computer and use it in GitHub Desktop.

Select an option

Save jeffreyiacono/4747241 to your computer and use it in GitHub Desktop.
random heat, camo, and rainbow via images + matrix + runif
image(matrix(runif(10000), nrow = 100, ncol = 100), col = heat.colors(10))
image(matrix(runif(10000), nrow = 100, ncol = 100), col = rainbow(10))
image(matrix(runif(10000), nrow = 100, ncol = 100), col = terrain.colors(10))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment