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]
st: problem using catplot to graph vertical bars
From
"Leung, Adelaine K.W." <[email protected]>
To
"[email protected]" <[email protected]>
Subject
st: problem using catplot to graph vertical bars
Date
Mon, 25 Oct 2010 23:06:22 -0400
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)
I get an error: variable bar not found
Any advice will be great!
Thanks in advance.
Adelaine
*
* 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/