# Revision history [back]

### Plot Series of 3D Direction Vectors (Not All from Origen)

Hi,

I'm trying to plot a series of vectors. I've pasted what I have below. The problem is that I want to plot the second vector, starting from the end of the first vector. If I run the commands below, I get two vectors plotted as I want (with arrows) but they are both from the origin.

I tried looking at MATPLOTLIB to see what to do but I got stuck.

Is there an easy way to plot a series of vectors in the way that I want?

a=vector([1,1,1]) b=vector([2,2,3]) aPlot=plot(a, legend_label='Vector a') bPlot=plot(b, legend_label='Vector b') AllPlot=aPlot+bPlot AllPlot.show()

 2 No.2 Revision calc314 4101 ●20 ●47 ●109

### Plot Series of 3D Direction Vectors (Not All from Origen)

Hi,

I'm trying to plot a series of vectors. I've pasted what I have below. The problem is that I want to plot the second vector, starting from the end of the first vector. If I run the commands below, I get two vectors plotted as I want (with arrows) but they are both from the origin.

I tried looking at MATPLOTLIB to see what to do but I got stuck.

Is there an easy way to plot a series of vectors in the way that I want?

a=vector([1,1,1])
b=vector([2,2,3])
aPlot=plot(a, legend_label='Vector a')
bPlot=plot(b, legend_label='Vector b')
AllPlot=aPlot+bPlot
AllPlot.show()AllPlot.show()