我坐标系做好了,a:=400
b:=300
r:=100
SetLine(2)
Line(2,0,b,799,b)
repeat with i:=-3 to 3
Line(2,a+i*r,b,a+i*r,b-5)
end repeat
Line(2,a,599,a,0)
repeat withi:=-2 to 2
Line(2,a,b-i*r,a+5,b-i*r)
end repeat
SetLine(0)
请问,我需要输入一个K的值,然后在坐标上画出来,谁能帮我写下代码,y=k/x的反比例函数,为什么我画出来像个倒T字
|