Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: RE: adding line y=x

From   Clive Nicholas <>
Subject   Re: st: RE: adding line y=x
Date   Fri, 25 Jun 2010 22:25:01 +0100

Nick Cox replied to Jeph Herrin:

> su var1, meanonly
> twoway (scatter var2 var1, ytitle(`: var label var2')
> xtitle(`: var label var1')) (function equality = x, ra(0 `=r(max)'))
> -twoway function- is odd. -x- is a placeholder for the x-axis variable.
> I tend to use some nonce name for the y variable like "equality" because
> that then becomes the legend default.

I never thought I'd live to read an email from Nick containing the
word 'nonce' in it. I should have gone to Paddy Power...

Clive Nicholas

[Please DO NOT mail me personally here, but at
<>. Please respond to contributions I make in
a list thread here. Thanks!]

"My colleagues in the social sciences talk a great deal about
methodology. I prefer to call it style." -- Freeman J. Dyson
*   For searches and help try:

© Copyright 1996–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index