Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Bar Graph Chart

From   Keniajin Wambui <>
Subject   st: Bar Graph Chart
Date   Fri, 31 May 2013 17:02:12 +0300

Hi All;
I am using Stata 12 on windows 7. I want to do a bar graph of two
variables with each bar colored differently according to regions

Using one variable its working perfectly
webuse citytemp
graph bar (count) tempjan , over(region) over(division) asyvars stack

but when i try
webuse citytemp
graph bar (count) tempjan tempjuly, over(region) over(division) asyvars stack

the over(region) over(division)  both of them are moved to the x-axis.
How can I make sure the using two variables rremains the same as for
one variable.
Mega Six Solutions
Web Designer and Research Consultant
Kennedy Mwai
*   For searches and help try:

© Copyright 1996–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index