Stacked bar graph.

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 = axes.bar(ind, data['n'], width, color='r')
        p2 = axes.bar(ind, data['l'], width, color='y', bottom=data['n'])
        p3 = axes.bar(ind, data['m'], width, color='b', bottom=data['l'])
        p4 = axes.bar(ind, data['h'], width, color='g', bottom=data['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