回复 2楼 风吹过b
我的Y坐标是这样定义的
Picture1.ScaleMode = 0
Picture1.Scale (-30, 105)-(760, -10)
Picture1.Line (750, 0)-(-30, 0), vbBlack
Picture1.Line (0, 100)-(0, -10)
Dim i As Integer
'标x轴刻度
For i = 0 To 750 Step 30
Picture1.Line (i, 100)-(i, 0)
Picture1.CurrentX = i - 16: Picture1.CurrentY = -2: Picture1.Print i
Next i
'标y轴刻度
For i = 0 To 100 Step 10
Picture1.Line (750, i)-(0, i)
If i <> 0 Then Picture1.CurrentX = -30: Picture1.CurrentY = i: Picture1.Print i
Next i
可是却没法显示小数,只能显示整型。怎么回事啊?还请指教