I would like to plot a bar graph where subsequent bars have different
colors (i.e. alternating colors). I think this will enhance the
readability of my plot.
How can I do this?
Thanks,
Oguz
I would like to plot a bar graph where subsequent bars have different
colors (i.e. alternating colors). I think this will enhance the
readability of my plot.
How can I do this?
Thanks,
Oguz
Apparently it was simpler than I thought:
bar (x, y, align='center', color=((0, 0, 0.5), (0, 0, 0.9), (0, 0,
0.5), (0, 0, 0.9), (0, 0, 0.5), (0, 0, 0.9), (0, 0, 0.5), (0, 0, 0.9),
(0, 0, 0.5), (0, 0, 0.9)))
does what I need.
Cheers,
Oguz
On 11/13/06, Oguz Akyuz <oguzakyuz@...287...> wrote:
I would like to plot a bar graph where subsequent bars have different
colors (i.e. alternating colors). I think this will enhance the
readability of my plot.How can I do this?
Thanks,
Oguz