Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The following is working for me in Sage Math Cloud.

var('s t')
F=((2+1*cos(t))*cos(s),(2+1*cos(t))*sin(s),1*sin(t))
p=parametric_plot3d(F,(t,0,2*pi),(s,0,2*pi))
show(p,viewer='tachyon',aspect_ratio=1)
p.save('test.png',viewer='tachyon',aspect_ratio=1)

The downside is that you will have to transform the torus in order to change the view. I don't think you can change the viewpoint using the show or parametric_plot3d commands yet.