Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: What determines ytitle distance from graph
From
Nick Cox <[email protected]>
To
[email protected]
Subject
Re: st: What determines ytitle distance from graph
Date
Thu, 13 Jan 2011 10:13:06 +0000
You can tune using -ysc(, titlegap())- (or -xsc()- as the case may be).
Nick
On Thu, Jan 13, 2011 at 9:37 AM, DE SOUZA Eric
<[email protected]> wrote:
> When I change the ylabel angle to horizontal for a specific variable, the distance between the yaxis and the ytitle is quite large.
>
> . sum lqrt
>
> Variable | Obs Mean Std. Dev. Min Max
> -------------+--------------------------------------------------------
> lqrt | 106 -.538891 .2215944 -.8609112 -.1334978
>
> . graph twoway scatter lqrt rla
> NO PROBLEM
>
> . graph twoway scatter lqrt rla, ylabel(, angle(horizontal))
> DISTANCE OF LABEL lqrt FROM GRAPH IS LARGE
>
> . graph twoway scatter rla lqrt, ylabel(, angle(horizontal))
> Y X CHANGED: NO PROBLEM
>
> . clear
>
> . webuse auto
> (1978 Automobile Data)
>
> . graph twoway scatter price mpg, ylabel(, angle(horizontal))
> NO PROBLEM
>
> . gen price2 = price/1000
> Y SCALED TO SEE IF THIS COULD BE THE REASON, BUT:
>
> . graph twoway scatter price2 mpg, ylabel(, angle(horizontal))
> NO PROBLEM
*
* 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/