Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You can get access to the list of solution points using the .solution option.

a=T.solution
print a

The code above shows the solution points and you can see the data structure. To plot what you want, try these:

xysoln=[[soln[1][0],soln[1][1]] for soln in a]
list_plot(xysoln)

yzsoln=[[soln[1][1],soln[1][2]] for soln in a]
list_plot(yzsoln)

xzsoln=[[soln[1][0],soln[1][2]] for soln in a]
list_plot(xzsoln)

xyzsoln=[[soln[1][0],soln[1][1],soln[1][2]] for soln in a]
list_plot(xyzsoln)