plotting a plane section in sage

asked 2014-11-14 14:55:50 -0500

uglychamaeleon gravatar image

updated 2015-01-14 03:15:11 -0500

FrédéricC gravatar image

Suppose I have a parametric surface given by three functions in two variables. Moreover, this surface is immersed in a solid torus like

sage: p1 = parametric_plot(( a*(R + x)*cos(z), a*(R + y)*sin(z), a*y ),(p,0,2*pi),(q,0,2*pi))

for some a and R.

How can one plot a section of the surface by a plane with Sage?

edit retag flag offensive close merge delete

Comments

Some information seems missing. Evaluating p1 does not work for me. How are p and q related to x,y,z ?

tmonteil gravatar imagetmonteil ( 2014-11-16 12:41:14 -0500 )edit

@tmonteil Sorry for misleading notation. X, y and z are functions in two variables p and q.

uglychamaeleon gravatar imageuglychamaeleon ( 2014-11-16 17:36:39 -0500 )edit