## Even number: residual tint shows left/right of center
co_even = g2r.colors(10)
co_even
doLegend(1:11, co_even, 1)
## Odd number: central class all black
co_odd = g2r.colors(9)
co_odd
doLegend(1:10, co_odd, 1)
## Lighter tint in the middle
co_light = g2r.colors(10, min.tinge=0.50)
co_light
doLegend(1:11, co_light, 1)
Run the code above in your browser using DataLab