Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: labels for x-axis of graph


From   "Scott Merryman" <[email protected]>
To   <[email protected]>
Subject   st: RE: labels for x-axis of graph
Date   Sat, 19 Feb 2005 06:58:56 -0600

Daphna,


Here are few options.

1. Use horizontal bars.

2. Use the -label(alternate)- option.  In your case ...relabel(1 "No
Welfare.....") label(alternate) )

3. Use the -label(labsize(small))- option.  This can be used with the
alternate: -label(alternate labsize(small))-

4. Use the angle option:  -label(angle(45)-


Hope this helps,
Scott


> -----Original Message-----
> From: [email protected] [mailto:owner-
> [email protected]] On Behalf Of daphna
> Sent: Saturday, February 19, 2005 2:47 AM
> To: [email protected]
> Subject: st: labels for x-axis of graph
> 
> Hello-
> 
> I could really use some help with my labels for a bar graph.
> 
> Basically I am graphing income over a categorical variable that takes on
> four values.
> 
> 
> . graph bar (mean) w3_earninc2, over(w3_empl_stat, relabel(1 "NO Welfare:
> Working" 2 "NOWelfare: Not Working" 3 "Welfare: Not Working" 4 "Welfare:
> Working") )
> 
> this works fine except that my labels for each column are too clunky and
> are running into each other.
> 
> How can I change their size or make each label appear on two lines instead
> of one.
> 
> I would really appreciate some advice.
> 
> Thank you,
> 
> Daphna
> 
> *
> *   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/


*
*   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/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index