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: problem using catplot to graph vertical bars


From   Ulrich Kohler <kohler@wzb.eu>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: problem using catplot to graph vertical bars
Date   Tue, 26 Oct 2010 09:20:20 +0200

Am Montag, den 25.10.2010, 23:06 -0400 schrieb Leung, Adelaine K.W.:
> Hi Stata List,
> 
> I'm trying to make a simple categorical graph using catplot.  
> 
> The following command works and draws the bars horizonally
> catplot group courted if enflp==272 & group!=0 & group!=2 & gal4line==1, percent(courted) 
> 
> However, I would like the same graphs drawn with vertical bars using the following command:
> 
> catplot bar group courted if enflp==272 & group!=0 & group!=2 & gal4line==1, percent(courted) 

Perhaps

. catplot group courted if ...,  percent(courted) vertical 

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


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