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 <[EMAIL PROTECTED]> 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
>

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to