Bookmark and Share

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]

st: What determines ytitle distance from graph


From   DE SOUZA Eric <eric.de_souza@coleurope.eu>
To   Statalist <statalist@hsphsun2.harvard.edu>
Subject   st: What determines ytitle distance from graph
Date   Thu, 13 Jan 2011 10:37:24 +0100

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


Eric de Souza
College of Europe
Brugge (Bruges), Belgium
http://www.coleurope.eu



*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index