[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: graph bar, over() total?-- how do I get a bar with total over categories?
I am trying to construct a bar graph over a
categorical variable with a bar for total over the
E.g. in the following example, I want an extra
category called "Total" (over the countries listed)
sysuse educ99gdp, clear
generate total = private + public
graph hbar (asis) public private,
over(country, sort(total) descending) stack percent
title("Spending on tertiary education, by public and
note("Source: OECD, Education at a Glance 2002",
Thank you in advance!
PS. Using Stat8/SE
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
* For searches and help try: