Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Idl-pvware > Re: Stacked Col...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 3 Topic 5617 of 6256
Post > Topic >>

Re: Stacked Column Bar Plots

by Loren Anderson <andersld@[EMAIL PROTECTED] > Apr 8, 2008 at 07:40 AM

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.
 




 3 Posts in Topic:
Stacked Column Bar Plots
"Ryan." <rch  2008-04-07 16:40:25 
Re: Stacked Column Bar Plots
Loren Anderson <anders  2008-04-08 07:40:02 
Re: Stacked Column Bar Plots
"Ryan." <rch  2008-04-08 13:54:51 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sun Oct 12 23:35:05 CDT 2008.