1 | initial version |
The object you are creating, is not really a vector, it is a plot object:
sage: type(vector1)
<class 'sage.plot.plot3d.base.TransformGroup'>
So, the best would be to work on genuine vectors:
sage: vector1 = vector((1, 2, 3))
You can access it second value with:
sage: vector1[1]
2
You can still plot it if you want:
sage: arrow((0,0,0), vector1)