|
From: Jason C. L. <jas...@gm...> - 2006-02-21 19:40:06
|
hi,
I'm having trouble figuring out how to add a few more layers to a
stacked bar graph.
What I have so far is:
p1 =3D axes.bar(ind, data['n'], width, color=3D'r')
p2 =3D axes.bar(ind, data['l'], width, color=3D'y', bottom=3Ddata['=
n'])
p3 =3D axes.bar(ind, data['m'], width, color=3D'b', bottom=3Ddata['=
l'])
p4 =3D axes.bar(ind, data['h'], width, color=3D'g', bottom=3Ddata['=
m'])
But I don't think this is correct. I only get two layers (red and
green). Does anyone know the proper method?
Thanks,
Jason.
--
........................................
.... Jason C. Leach
.... PGP Key: 0x62DDDF75
.... Keyserver: gpg.mit.edu
|