 

Hi, I have the following problem with ggplot2: When I specify black contours
for bars in a barplot, ggplot automatically shows diagonal lines in the
legend boxes. Is there a way, to remove these diagonal lines?

 

Here's a simple example:

library(ggplot2)

df<-data.frame(x=gl(6,1),y=rnorm(6,100,50))

ggplot(df,aes(y=y,x=x,fill=x))+geom_bar(aes(group=x),colour='black',size=1)+
scale_fill_brewer(palette='Greys')

 

 

Thanks for your help!


	[[alternative HTML version deleted]]

