[R] Polygon shading line colors

Luke Spadavecchia l.spadavecchia at googlemail.com
Tue Oct 30 15:46:24 CET 2007

Hi there,

I'm having trouble working out how to change the colors of polygon  
shading lines. If I plot a polygon with


I get gray borders but black shading lines; I have tried adding  
col=gray(0.5), bg=gray(0.5) and fg=gray(0.5), but no luck.
How can I change the colors of the shading? The help file doesn't  
seem to detail this, so any suggestions would be greatly appreciated.

Many thanks

Luke Spadavecchia

More information about the R-help mailing list