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" <cryan@binghamton.edu>
To   <statalist@hsphsun2.harvard.edu>
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?"

thanks.

--Chris
--
Christopher W. Ryan, MD
SUNY Upstate Medical University
Clinical Campus at Binghamton
and Wilson Family Practice Residency
cryan@binghamton.edu


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-
>
>
>EGW



*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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