I want to generate the lines, which I get from an array in 3D.
Here is the code:
VecStart_x = [0,1,3,5]
VecStart_y = [2,2,5,5]
VecStart_z = [0,1,1,5]
The gallery is a great starting point to find out examples:
http://matplotlib.org/gallery.html
There is an example of 3d line plot here:
http://matplotlib.org/examples/mplot3d/lines3d_demo.html
You see that you need to pass to the ax.plot function 3 vectors. You are actually passing list of lists. I don't know what you mean by the Start and End sublist, but the following line should work :
ax.plot(VecStart_x + VecEnd_x, VecStart_y + VecEnd_y, VecStart_z +VecEnd_z)
Here I sum the sublist (concatenation) in order to have only one list by axis.