[R] Advice on variable color stacked bar graphs?

Adam Almo adam.almo at gmail.com
Mon Apr 12 01:22:31 CEST 2010


Hello,
I'm trying to create a stacked bar graph with variable coloring in
each stacked bar; that is, one bar has say blue on top of red, the
next one red on top of purple, etc. I also wanted to preserve the
ability to stack graphs. Currently, the values for each bar, that is,
the bottom values and the top values, are contained in separate
vectors, with another pair of vectors specifying the colors used in
each bar. Thank you so much guys.

Adam



More information about the R-help mailing list