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 at the end of May, and its replacement, statalist.org is already up and running.


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

st: Re: Bar chart


From   "Joseph Coveney" <jcoveney@bigplanet.com>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: Re: Bar chart
Date   Fri, 12 Oct 2012 05:14:10 +0900

Yingge Lin wrote:

I would like to make a bar chart of frequencies of two categorical variables.

I used catplot;
.catplot n4 gender

I got the horizon bars. Can I get the vertical bars instead by modify
the command? any suggestion?

--------------------------------------------------------------------------------

The help file for this user-written command tells you how to do what you want.
Try the command's -recast(bar)- option.

Joseph Coveney


*
*   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