Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | "Philip Ryan" <philip.ryan@adelaide.edu.au> |
To | <statalist@hsphsun2.harvard.edu> |
Subject | st: RE: lengthening lfit line to fill the entire graph |
Date | Sun, 15 Jan 2012 11:47:02 +1030 |
<<>> Is this what you mean: twoway (scatter length weight if foreign==1) (scatter length weight if /// foreign==0) (lfit length weight if foreign==1, range(1500,5000)) Phil Philip Ryan Professor and Director Data Management & Analysis Centre School of Population Health & Clinical Practice University of Adelaide -----Original Message----- From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Ariel Linden, DrPH Sent: Sunday, 15 January 2012 7:21 AM To: statalist@hsphsun2.harvard.edu Subject: st: lengthening lfit line to fill the entire graph Hi All, How can I lengthen the lfit line (or for that matter, any predicted line) to fill the entire length of the x-axis (according the x-axis label). For example: twoway (scatter length weight if foreign==1) (scatter length weight if foreign==0) (lfit length weight if foreign==1) Thanks! Ariel * * 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/ * * 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/