I have run across an interesting problem:
I am trying to make bar graphs over categorical variables, with value
labels, e.g.:
. graph hbar(mean) satisfied, over(q12)
In this situation, the value labels extend off the edge of the y axis, such
that only a couple of letters appear.
. label list q12
q12:
1 definitely true
2 somewhat true
3 no strong opinion
4 somewhat untrue
5 definitely untrue
6 don't know/refused
If I do the following:
. label define q12 6 "do not know/refuse", modify
. graph hbar(mean) satisfied, over(q12)
Then it looks as it should.
If I then go back:
. label define q12 6 "don't know/refuse", modify
. graph hbar(mean) satisfied, over(q12)
again the value labels are unreadable.
Is this a known limitation? Any suggestions for eliminating offending
characters in a large number of value labels?
Thanks in advance.
Dan
*
* 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/