plotting a plane section in sage

asked 2014-11-14 21:55:50 +0100

uglychamaeleon gravatar image

updated 2015-01-14 10:15:11 +0100

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 19:41:14 +0100 )edit

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

uglychamaeleon gravatar imageuglychamaeleon ( 2014-11-17 00:36:39 +0100 )edit