Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


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

Re: st: Bar Graph Chart


From   Keniajin Wambui <kiangati@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Bar Graph Chart
Date   Mon, 3 Jun 2013 11:33:27 +0300

Thanks Nick,
graph bar (count) tempjan tempjuly, by(region, row(1)) over(division)
asyvars nofill
is very close to what I want, but the problem is the label sizes,

I am trying over(division ,label(labsize(tiny))) but it still shows
the labels large in size.

On Fri, May 31, 2013 at 8:03 PM, Nick Cox <njcoxstata@gmail.com> wrote:
> Is this closer to what you want?
>
>  graph bar (count) tempjan tempjuly, by(region) over(division) asyvars nofill
>
> graph bar (count) tempjan tempjuly, by(region, row(1)) over(division)
> asyvars nofill
> Nick
> njcoxstata@gmail.com
>
>
> On 31 May 2013 15:02, Keniajin Wambui <kiangati@gmail.com> wrote:
>> 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
>> 25475211786
>> *
>> *   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/
> *
> *   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/



-- 
Mega Six Solutions
Web Designer and Research Consultant
Kennedy Mwai
25475211786
*
*   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/


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