I want to create a rather simple graph that I thought that many others have used before. But after surfing around the web and statalist for some time I realize that this is apparently not the case. Hope someone can help.

I have 3-5 repetitive measurements over roughly 90 days in roughly 50 subjects divided into two groups.

To be able to assess visually how the measured value varies with time I wish to create a figure like that sketched in the enclosed file, i.e. for each individual subject a connected dot plot with color according to group. Measured value on the Y axis, and time (days after first measurement) on the X-axis.

Variables are:
- Subject ID
- First measured value (baseline)
- Time of Measurement 1 (=0)
- Second measured value
- Time of Measurement 2 (Days after Measurement 1)
..
..
- Fifth measured value
- Time of Measurement 5

How can I create this graph? Plotting the measured values against time is simple, but how can I connect only those dots belonging to the same subject?

Thank you for any advice!

Hans