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

st: Scatter plot


From   <[email protected]>
To   <[email protected]>
Subject   st: Scatter plot
Date   Sun, 27 Apr 2003 23:23:12 +0800 (CST)

Hi all,

Can anyone guide me how to draw the scatter plot of the following data in Stata 7.
(y1 vs. x1 and y2 vs. x2 in the same graph). Just the scatter plot rather than weighted scatter plot with weight option.

If the mean of y1 and y2 can be added to the graph as a line respectively, that will be great!
Thanks.

x1	y1	x2	y2
1	10	2	10
1	12	2	10
1	12	2	10
1	13	2	10
1	15	2	10
1	15	2	10
1	15	2	13
1	15	2	13
1	15	2	12
1	20	2	18
1	20	2	19
1	20	2	20
1	20	2	11
1	20	2	11
1	25	2	11
1	25	2	13
1	29	2	14
1	30	2	16
1	31	2	11
1	31	2	10
1	32	2	12

Best,
Jeffrey

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