Here's what I do. Let's say there are four different subsets of data
groups 1 to 4. I plot the entire distribution, then overplot groups 1
to 3, then overplot groups 1 to 2, then overplot group 1. I use
plothist in the Astronomy library, but you can substitute with your
favorite bar plotting program.
plothist, [group1, group2, group3, group4]
plothist, [group1, group2, group3], /overplot
plothist, [group1, group2], /overplot
plothist, [group1], /overplot
-Loren
On Apr 7, 4:40 pm, "Ryan." <rchug...@[EMAIL PROTECTED]
> wrote:
> Hi All,
>
> Does anyone have or know of IDL code that can create stacked bars in one
> plot? I have percentages that I want to plot so the total height will
> be the same but I have smaller *stacks* within each column that will
> have different values. It is a common way of plotting, so I'm sure it's
> out there I just can't seem to find where.
>
> Thanks,
> Ryan.


|