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

st: simple (?) graph question


From   Jim.Seward@sunhealth.org
To   statalist@hsphsun2.harvard.edu
Subject   st: simple (?) graph question
Date   Fri, 16 Apr 2004 15:19:47 -0700

All,

I have a simple graph question.  I paged through the Graphics manual and
looked at the pull down menu but can't figure out an answer.

I have a small data set of before and after lab values on 20 individuals.
I would like to do a dot graph with two values on the x-axis, "before" and
"after", and the lab value on the y axis.  I would like to connect the
before and after dots for each individual with a line, so I would have 20
lines.

The data are arranged:

Patient #         Value 1      Value 2
1         51   48
2         49   53
3         47   59
.
.
.
and so on...

Thanks, and have a good weekend,
Jim Seward

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index