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: RE: graphing lines


From   Nick Cox <[email protected]>
To   "'[email protected]'" <[email protected]>
Subject   st: RE: graphing lines
Date   Wed, 26 Jan 2011 20:13:17 +0000

Yes. Consider 

. sysuse auto
(1978 Automobile Data)

. sc mpg weight || scatteri 20 2000 30 3000, recast(line) lw(*5)


Nick 
[email protected] 

Lim, Raymond

Is there a way to specify two points on a graph and draw a line connecting them? I know about xline() and yline(), but I don't want the line extending the entire plot region. 


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