Variants on this problem arise quite
frequently on this list.
If you
. sort id x
. twoway connected y x, c(L)
you should get what you want if the
data are unproblematic. Alternatively
. ssc inst linkplot
. linkplot y x, link(id)
is in some respects a more general
tool which does not, or at least
should not, hinge on (1) having
exactly the best sort order (2)
a full set of -id- * -x- combinations.
Nick
[email protected]
Richard Hiscock
>
> I have a data set in the form
>
> y variable (distance in mm) x variable (3 technique) id(pt)
>
> 45 1 1
> 35 2 1
> 42 3 1
>
> ......etc
>
> and wish to plot the y variable against 3 techniques with
> line connecting
> each id.
> This is easily achieved in MLwin however it would be useful
> to produce a
> higher quality graph in stata
> I have tried the usual sources (graph manual,ats & FAQ) with no lick
*
* 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/