1 | initial version |
Until #24623 is ready, the minimal code to plot the proposed vector field within the manifold framework is (this work with Sage 8.1):
R3 = Manifold(3, 'R^3')
X.<x,y,z> = R3.chart()
v = R3.vector_field()
v[:] = (x,y,z)
p = v.plot(max_range=5, scale=0.5)
p.show()
It is a little bit slow, but thanks to some optimisations, this should be improved in future versions of Sage. See the online doc for the list of all options of v.plot()
. Note also that you can replace the last line by p.show(viewer='threejs')
.
2 | No.2 Revision |
Until #24623 #24623 is ready, the minimal code to plot the proposed vector field within the manifold framework is (this work with Sage 8.1):
R3 = Manifold(3, 'R^3')
X.<x,y,z> = R3.chart()
v = R3.vector_field()
v[:] = (x,y,z)
p = v.plot(max_range=5, scale=0.5)
p.show()
It is a little bit slow, but thanks to some optimisations, this should be improved in future versions of Sage. See the online doc for the list of all options of v.plot()
. Note also that you can replace the last line by p.show(viewer='threejs')
.
3 | No.3 Revision |
Until #24623 is ready, the minimal code to plot the proposed vector field within the manifold framework is (this work works with Sage 8.1):>= 7.5):
R3 = Manifold(3, 'R^3')
X.<x,y,z> = R3.chart()
v = R3.vector_field()
v[:] = (x,y,z)
p = v.plot(max_range=5, scale=0.5)
p.show()
It is a little bit slow, but thanks to some optimisations, this should be improved in future versions of Sage. See the online doc for the list of all options of v.plot()
. Note also that you can replace the last line by p.show(viewer='threejs')
.