# Plot the plane x+z=0 in mathematica

How do I plot the plane x+z=0 in mathematica on the xyz plane

Related Calculus and Beyond Homework Help News on Phys.org
DrClaude
Mentor
If you have Mathematica 9, just try
Code:
= plot x+z=0 plane

This is not correct tag plus in plot x+z is protected

berkeman
Mentor
This is not correct tag plus in plot x+z is protected
What version of Mathematica do you have? Student version or Full version?

vanhees71
Gold Member
2019 Award
I'd suggest to use ParametricPlot3D (see attachement). The Student and full version of Mathematica are usually the same in function. I've the home edition of Mathematica 9 on my private laptop and it's absolutely identical with the full version on our institute's computers.

#### Attachments

• 37.1 KB Views: 336
Again how to plot x+z=0 in mathematica

In Mathematica, any version, Plot3D wants an expression or function giving z values as a function of x and y coordinates so... turn x+z==0 into x==-z into -(x+0*y)==z (or just plot -x) and now you have a function giving z values to plot.

In:= Plot3D[-(x + 0*y) (*==z*), {x, -3, 3}, {y, -4, 4}]
Out= ...PlotSnipped...

Carefully check some points on the surface to verify this is correct.
And, if you don't already know... this ---> (*==z*) <--- is a comment in Mathematica code.

Thank you