[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: creating bar charts
Secondly, I wanted to make an xtitle, showing the reader that age
was along the xaxis in five-year brackets, but when I included an -
xtitle(Age)- I got an error. Any ideas?
For instance, here was my code:
. graph bar (asis) SexRatio, over(race) over(age) bargap(.80) legend
( label(1 "White") label(2 "Black") ) xtitle(Age) ytitle(Sex Ratio)
title(Racial Dynamics in the U.S. Sex Ratio) note("Source: 2000
Census longform Summary File")
yet, I saw in the help for axis titles that xaxis is an option, so
I'm not sure what I did incorrectly here. sc
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/