Re: [R] ggplot bar geom: control the filling in the colour legend

2010-09-15 Thread Paul Murrell
Hi On 13/09/2010 8:03 p.m., Benoit Boulinguiez wrote: Hi all, I'm still seeking for tweaking the appearance of the color legend in a bar goemetry with ggplot2. I can't seem to control the filling of the colour legend squares take this, ggplot(diamonds, aes(clarity, fill=color,colour = cut)) +

[R] ggplot bar geom: control the filling in the colour legend

2010-09-13 Thread Benoit Boulinguiez
Hi all, I'm still seeking for tweaking the appearance of the color legend in a bar goemetry with ggplot2. I can't seem to control the filling of the colour legend squares take this, ggplot(diamonds, aes(clarity, fill=color,colour = cut)) + geom_bar(position = dodge) and I'd need a white

Re: [R] ggplot bar geom: control the filling in the colour legend

2010-09-11 Thread Benoit Boulinguiez
Sorry my bad, example too simple try that one out. ggplot(diamonds, aes(clarity, fill=color,colour = cut)) + geom_bar(position = dodge) I want change the filling in the colour legend, not the filling of the bars. Regards Le 10/09/2010 20:41, Ista Zahn a écrit : ggplot(diamonds,

[R] ggplot bar geom: control the filling in the colour legend

2010-09-10 Thread Benoit Boulinguiez
Hi all, Is it possible to change the filling of the squares used to represent the colour legend in a bar plot with ggplot? in this example, fillings are raven black, I'd like them white. ggplot(diamonds, aes(clarity, colour = cut)) + geom_bar() Regards -- - Benoit Boulinguiez

Re: [R] ggplot bar geom: control the filling in the colour legend

2010-09-10 Thread Ista Zahn
Sure, just change the color of the fill. ggplot(diamonds, aes(clarity, colour = cut)) + geom_bar(fill=white) -Ista On Fri, Sep 10, 2010 at 2:24 PM, Benoit Boulinguiez benoit.boulingu...@ensc-rennes.fr wrote: Hi all, Is it possible to change the filling of the squares used to represent the

Re: [R] ggplot bar geom: control the filling in the colour legend

2010-09-10 Thread Dennis Murphy
Hi: On Fri, Sep 10, 2010 at 11:24 AM, Benoit Boulinguiez benoit.boulingu...@ensc-rennes.fr wrote: Hi all, Is it possible to change the filling of the squares used to represent the colour legend in a bar plot with ggplot? in this example, fillings are raven black, I'd like them white.