Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

RE: st: add diagonal line to graph


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   RE: st: add diagonal line to graph
Date   Mon, 14 Feb 2005 12:30:34 -0000

Ulrich is mixing in memories of Stata < 8 here. 

scatter yvar xvar xvar, connect(. l) ms(Oh i) 

Nick 
[email protected] 

Ulrich Kohler
 
> Falko Juessen wrote:
> > Hello all,
> >
> > I want do add a diagonal line to a scatterplot (the main diagonal).
> > I know how to add a horizontal or vertical line ( - help
> > added_line_options - ) but I don't know how to add a diagonal line.
> 
> . scatter yvar xvar xvar, connect(.l) s(Oh i) 
> 
> is one way to go.

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index