Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Red Owl <rh.redowl@liu.edu> |
To | <statalist@hsphsun2.harvard.edu> |
Subject | RE: st: Graph for three variables |
Date | Sun, 12 Jan 2014 23:21:13 -0500 |
Almazea, Perhaps you could do something like this: ** Begin Stata code *** graph bar (mean) days, hor over(food) over(region) /// asyvars bargap(10) stack percentages name(graph1) graph bar (mean) days, hor over(food) /// asyvars bargap(10) stack percentages name(graph2) graph combine graph1 graph2, rows(1) name(combined) *** End Stata code*** If you would rather have vertical bars, just remove -hor- from the options above. Red Owl redowl@liu.edu * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/faqs/resources/statalist-faq/ * http://www.ats.ucla.edu/stat/stata/