Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Try this. Use p1=p1+ ... instead of p1 = ...

t=var('t')
for i in range(-3,3,1):
    p1 = p1+parametric_plot((t,i),(t,-5,5),color="red")
    p2 = p2+parametric_plot((i,t),(t,-5,5),color="gray")
show(p1+p2)