比如:
Dim P, X
P = Array("180.6", "200.8", "310.8", "470.9", "580.6", "680.6", "770.6", "800.6", "910.1")
X = Array("180.6", "400.8", "510.8", "270.9", "380.6", "390.6", "470.6", "500.6", "610.1")
Picture1.AutoRedraw = True
For i = 0 To 7 'XAX
Picture1.Line (X(i), P(i))-(X(i + 1), P(i + 1)), vbBlue
Next