Ask Your Question

fgiffuni's profile - activity

2016-12-28 00:07:30 +0200 received badge  Notable Question (source)
2015-03-11 20:02:07 +0200 received badge  Popular Question (source)
2013-11-29 10:01:48 +0200 asked a question fields plot 3d

In sagemath CLOUD i can't plot vector fields in 3d :

x,y,z = var ('x y z')
plot_vector_field3d((x*cos(z),-y*cos(z),sin(z)), (x,0,pi), (y,0,pi), (z,0,pi),center_arrows=True,aspect_ratio=(1,2,1))

error reported:
Error in lines 2-2 Traceback (most recent call last): File "/mnt/home/WmaalNmo/.sagemathcloud/sage_server.py", line 668, in execute exec compile(block+'\n', '', 'single') in namespace, locals File "", line 1, in <module> File "/mnt/home/WmaalNmo/.sagemathcloud/sage_salvus.py", line 2723, in displayhook show(obj) File "/mnt/home/WmaalNmo/.sagemathcloud/sage_salvus.py", line 2082, in show graphics.show_3d_plot_using_threejs(obj, **kwds) File "/mnt/home/WmaalNmo/.sagemathcloud/graphics.py", line 119, in show_3d_plot_using_threejs t.add(g, **kwds) File "/mnt/home/WmaalNmo/.sagemathcloud/graphics.py", line 81, in add self._call('add_3dgraphics_obj(obj)', obj={'obj':graphics3d_to_jsonable(graphics3d), 'wireframe':jsonable(kwds.get('wireframe'))}) File "/mnt/home/WmaalNmo/.sagemathcloud/graphics.py", line 387, in graphics3d_to_jsonable handler(p)(p) File "/mnt/home/WmaalNmo/.sagemathcloud/graphics.py", line 359, in convert_combination handler(x)(x) File "/mnt/home/WmaalNmo/.sagemathcloud/graphics.py", line 365, in convert_inner handler(p.all[0])(p) File "/mnt/home/WmaalNmo/.sagemathcloud/graphics.py", line 346, in convert_line "points" : p.points, AttributeError: 'TransformGroup' object has no attribute 'points'

thank you for your help.

Félix.