how do i plot 3d planes like x=1
I plotted z=x^2+y^2 and would like to add some planes to the diagram. How do i plot x=1?
I plotted z=x^2+y^2 and would like to add some planes to the diagram. How do i plot x=1?
Plots are objects that can be added, so you can first create the plot of your function:
sage: F = plot3d(lambda x,y: x^2+y^2, [-2,2], [-2,2])
Then the plot of the plane $x=1$
sage: P = implicit_plot3d(lambda x,y,z: x-1, (-2,2), (-2,2), (-2,8))
Then you can add them on a common plot:
sage: F+P
thanks a lot, didn't know could use lambda to pass functions in sage (completely new to this package)
Please start posting anonymously - your entry will be published after you log in or create a new account.
Asked: 2015-03-08 10:22:49 +0100
Seen: 2,916 times
Last updated: Mar 08 '15
add a plane defined by two vectors
Unexpected behavior of log() in complex plane
Basic vector functions in Sage
Plot Series of 3D Direction Vectors (Not All from Origen)
filling in an area under a function or curve in 3 dimensions
How can i generate a 3D plot with more details?
Saving 3d pictures as anaglyphs