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: _if_ qualifier for hbar formatting
From
[email protected]
To
[email protected]
Subject
st: _if_ qualifier for hbar formatting
Date
Mon, 26 Aug 2013 16:57:10 +1000
Hi Statalist,
I'm using version 8
Consider the following...
sysuse auto, clear
keep if _n < 6
keep make price weight
graph hbar (mean) price weight, over(make) bar(2, bfcolor(none))
Here the mean of weight is represented as hollow bars.
However, I'd like to have the mean of weight represented as hollow bars
for Buicks only.
Can I use an _if_ qualifer to format the hbars?
Mike.
*
* 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/