I'm writing a program that has 2 equations and when the first equation,x, becomes equal to 0, I want to graph the original points (which i have set as p and q) picked. My code looks like this:
for x in range (0,200):
for y in range (0,200):
p=x
q=y
c=0
while (x > 0 and y > 0):
i=x-y+100
y=x+y-100
c=c+1
x=i
if c > 1000:
break
if x < 0:
plot((p,q))
It keeps giving me errors that look like this
WARNING: Output truncated!
[<matplotlib.lines.Line2D object at 0x206b4f90>]
[<matplotlib.lines.Line2D object at 0x206b9110>]
[<matplotlib.lines.Line2D object at 0x206b9450>]
[<matplotlib.lines.Line2D object at 0x2008e3d0>]
[<matplotlib.lines.Line2D object at 0x206b9c50>]
[<matplotlib.lines.Line2D object at 0x206ba190>]
And dozens more of things that look just like the above