Bookmark and Share

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


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

Re: st: problem using catplot to graph vertical bars


From   Ulrich Kohler <[email protected]>
To   [email protected]
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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index