I want to draw a bar plot with geom_bar where I want unique fill colors surrounded by a black border. However the instruction color=\"black\" is not i
geom_bar
color=\"black\"
You have to put colour outside aes:
colour
aes
ggplot(test) + geom_bar(aes(x=a, y=b, fill=c), colour="black", stat="identity")