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 <[email protected]>
To   [email protected]
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?

-- 
[email protected]
+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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index