I have two Cartesian equation of plans: y=3-x and z=2+x.
I want to draw both planes with Plot3D but I don't know what I have to put in the fonction.
Asked
Active
Viewed 841 times
1 Answers
1
Plot3D plots $f(x,y)$ as a function of $(x,y)$. The second plane, $z=2+x$ can be plotted with
Plot3D[2 + x, {x, -10, 10}, {y, -10, 10}]
The first plane, $f(x,y)=x+y-3\equiv 0$, so it won't work. But ContourPlot3D works for any plane $ax+by+cz+d=0$:
ContourPlot3D[{y == 3 - x, z == 2 + x}, {x, -10, 10}, {y, -10, 10}, {z, -5, 5}]
See also this thread.

ContourPlot3D[]in the documentation. – Feyre Oct 22 '16 at 10:13