Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Hello,

I figured out how to graph two graphs in 3D that overlap. The key is "implicit_plot3d." I provide an example. Since x^2 is missing in the equation (y^2 + z^2), the cylinder can be viewed down the x axis. If y^2 is missing (x^2 + z^2), the cylinder will be viewed down the y axis. If z^2 is missing, ect.

var ('x y z')


implicit_plot3d(y^2+z^2==36, (x,-6,6), (y,-6,6), (z,-6, 6), color="blue", figsize=4, opacity=.3, axes="true" ) + plot3d(x^2 + y^2, (-1,1),(-2.3,2.3))