Plot the plane x+z=0 in mathematica

Click For Summary

Homework Help Overview

The discussion revolves around plotting the plane defined by the equation x + z = 0 using Mathematica, specifically focusing on how to represent this equation in a 3D plot within the software.

Discussion Character

  • Exploratory, Problem interpretation, Mathematical reasoning

Approaches and Questions Raised

  • Participants explore different methods to plot the plane, including suggestions to use specific functions like ParametricPlot3D and Plot3D. There are questions regarding the correct syntax and functionality across different versions of Mathematica.

Discussion Status

Some participants have provided guidance on how to manipulate the equation for plotting, while others have raised concerns about syntax errors and version differences. The conversation reflects a mix of attempts to clarify the plotting process and address potential issues with the software.

Contextual Notes

There is mention of different versions of Mathematica, including student and full versions, and how they may affect functionality. Participants also discuss the need for correct syntax when using plotting functions.

nameVoid
Messages
238
Reaction score
0
How do I plot the plane x+z=0 in mathematica on the xyz plane
 
Physics news on Phys.org
If you have Mathematica 9, just try
Code:
= plot x+z=0 plane
(don't forget to start with an equal sign).
 
This is not correct tag plus in plot x+z is protected
 
nameVoid said:
This is not correct tag plus in plot x+z is protected

What version of Mathematica do you have? Student version or Full version?
 
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

  • parametric-plot-example.png
    parametric-plot-example.png
    24.9 KB · Views: 652
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[1]:= Plot3D[-(x + 0*y) (*==z*), {x, -3, 3}, {y, -4, 4}]
Out[1]= ...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
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 9 ·
Replies
9
Views
1K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
1
Views
2K
Replies
9
Views
3K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K