powered by
brewer.pal(n, name)
{ # Plot a colorbar with brewer.pal mypalette<-brewer.pal(7,"Greens") }
Run the code above in your browser using DataLab