Chris:
Thanks for the input. This is the first time I have used this control. I am plotting between 900 and 1000 points each time the process is run. I had Graph1.Numpoints set to 1000, and in this instance was plotting 900 points using a For...Next loop. My code looked like this:
Graph1.NumPoints = 1000
Graph1.NumSets = 2
For j = 1 To 900
Line Input #i, l
For k = 1 To Len(l)
p = k
If Mid$(l, k, 1) = Chr$(9) Then Exit
Next k
x = CDbl(Mid$(l, 1, p - 1))
y = CDbl(Mid$(l, p + 1))
If x < MinX Then
MinX = x
End If
If x < 1001 Then
If y < MinY Then
MinY = y
End If
End If
Graph1.ThisSet = 1
Graph1.Data(j) = y
Graph1.XPos(j) = x
Next j
It seems that the discrepancy between my Numpoints value, and the upper limit of j, caused my problem. As soon as I made sure that they were the same, my graph showed properly. If you know why this happens, I certainly could use a clue.
As I said, this is my first experience with the control, and I am sure that I could be coding this more efficiently, but I am happy for now.
Thanks again,
Alex