It works! Thanks a lot for your explanations, Michael.
Good luck,
Mario
Von: R. Michael Weylandt
Cc: "r-help@r-project.org"
Gesendet: 5:22 Montag, 30.Januar 2012
Betreff: Re: [R] ColorBrewer question
I believe you need to use the scale_fill_br
I believe you need to use the scale_fill_brewer since fill is the
color of the bars while color is the outside of the bars in
ggplot2-speak:
E.g., with built-in data (it's polite to provide yours so that your
minimal working example is working):
data(diamonds)
ggplot(diamonds, aes(clarity)) + geo
Hello, R friends,
I'm trying to change colors of my horizontal bars so that they show a sequence.
I chose the ColorBrewer palette "Blues". However the resulting plot doesn't
show any changes to the default.
I tried several places of "+ scale_colour_brewer(type="seq", pal = "Blues")"
with no eff
3 matches
Mail list logo