Question: plot torus strucures

How I can plot torus structure in the following code instead of cylindrical.

Thanks.

toro.mw
 

"U[1,6](x,theta):=0.03215257166 (sin(-2.350000000+9.400000000 x)-0.1369508410 sinh(-2.350000000+9.400000000 x)) cos(6 theta):"

 

 

with(plots)

[animate, animate3d, animatecurve, arrow, changecoords, complexplot, complexplot3d, conformal, conformal3d, contourplot, contourplot3d, coordplot, coordplot3d, densityplot, display, dualaxisplot, fieldplot, fieldplot3d, gradplot, gradplot3d, implicitplot, implicitplot3d, inequal, interactive, interactiveparams, intersectplot, listcontplot, listcontplot3d, listdensityplot, listplot, listplot3d, loglogplot, logplot, matrixplot, multiple, odeplot, pareto, plotcompare, pointplot, pointplot3d, polarplot, polygonplot, polygonplot3d, polyhedra_supported, polyhedraplot, rootlocus, semilogplot, setcolors, setoptions, setoptions3d, shadebetween, spacecurve, sparsematrixplot, surfdata, textplot, textplot3d, tubeplot]

(1)

cylinderplot(U[1, 6](x, theta)-.1, theta = 0 .. 2*Pi, x = 0 .. .5, grid = [50, 50])

 

torus

torus

(2)

``


 

Download toro.mw

 

 

Please Wait...