Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: multiple bar graph question


From   Ulrich Kohler <kohler@wz-berlin.de>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: multiple bar graph question
Date   Tue, 26 Sep 2006 17:10:08 +0200

. separate frac, by(agegrp) veryshortlabel
. graph bar frac1-frac10, over(finalresult) 

Eamonn O'Brien wrote:
> I would like to draw a graph using multiple bars using my data below
> with the variable 'frac' on the y axis , over 'agegrp' and then over the
> 'finalresult' variable. The following command will plot this: graph bar
> (asis) frac, over(agegrp) over(finalresult)
>
> However how do I format the plot so I get a common colour for each
> agegrp?

-- 
kohler@wz-berlin.de
+49 (030) 25491-361
*
*   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