Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Stacked Bar Chart

From   "Christopher W. Ryan" <>
To   <>
Subject   Re: st: Stacked Bar Chart
Date   Sun, 26 Jan 2003 15:23:10 -0500

Is it possible to do something like this if instead of "principal" "interest" 
and "admin," you had a single variable, call it "amount", another variable 
called "type" which could be a numeric code for principal versus interest 
versus admin, and a third variable called "year?"


Christopher W. Ryan, MD
SUNY Upstate Medical University
Clinical Campus at Binghamton
and Wilson Family Practice Residency

On Sun, 26 Jan 2003 00:38:32 -0500, Eric G. Wruck wrote:
>Christopher W. Ryan wrote:
>>... but could you tell me how you accomplished stacking a-c over
>>year, and d-e over year, even in separate graphs?  I'm trying to do
>>a similar thing and haven't been able to figure it out.
>Here's an example that works for me:
>-graph bar (asis) interest principal admin, over(year) stack-

*   For searches and help try:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index