R color palettes

  1. Basic grDevice

rencontre rer rainbow()
heat.colors() my.palette <- terrain.colors(100)

  1. RColoBrewer package display.brewer.all()

femcare uk my.palette <- brewer.pal(n, name) For example, my.palette <- brewer.pal(9, "Blues") However, the number of colors is limited up to 9, in most colors. Then use this.

more.color.palette <- colorRampPalette(brewer.pal(9,"Blues"))(100)

R color palettes # Basic grDevice rainbow topo…
Tagged on:     

Leave a Reply

Your email address will not be published. Required fields are marked *