Statalist


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

st: sort order for hbar over


From   Caleb Southworth <[email protected]>
To   [email protected]
Subject   st: sort order for hbar over
Date   Tue, 7 Oct 2008 17:05:00 -0700 (PDT)

The data are the population of counties in different age categories. app is a categorical variable for Appalachian counties coded 0|1. This produces the answer I am looking for, but I want to put the bars for app==0 and app==1 next to each other and so on for the other four age groups.

graph hbar under p18 p45 p65 , over(app) blabel(bar) per

That is, the first two bars would be the variable "under" for app==0 and app==1, followed by two bars for p18, and so on. Thanks!

Caleb Southworth
Associate Professor
University of Oregon Sociology
*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index