plotting a plane section in sage

asked 10 years ago

uglychamaeleon gravatar image

updated 10 years ago

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?

Preview: (hide)

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 ( 10 years ago )

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

uglychamaeleon gravatar imageuglychamaeleon ( 10 years ago )