Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Plotting 3D Vertical Planes

  1. Jan 28, 2012 #1
    I'm trying to plot something like x+y=2 in 3D. The image should look like this:


    Been trying to do it in Mathematica using Plot3D, but the it treats the input as a function of z.

    Another example: Plot3D[x=4,{x,0,10},{y,0,10},AxesLabel{x,y,z}] plots z=4, not x=4.

    A similar thread, with no conclusive answer: https://www.physicsforums.com/showthread.php?t=101840
    Last edited: Jan 28, 2012
  2. jcsd
  3. Jan 28, 2012 #2


    User Avatar
    Science Advisor

    Hey SwaGGeReR and welcome to the forums.

    Have you looked at the documentation?

    Also what do the arguments mean for the function? What does {x,0,10} refer to? Are they just bounds for the variables?

    The other thing is what is the default coordinate system for Mathematica? Is it RHS? LHS? Does the z-axis point up? (In many math programs it does and in many maths courses they treat z as pointed up and not in or out of the page).
  4. Jan 28, 2012 #3


    User Avatar
    Science Advisor
    Homework Helper
    Gold Member

    I'm not familiar with Mathematica but maybe it is like Maple. Can you plot surfaces as parametric plots? If so, you could use the parameterization:

    x = x
    y = 2 - x
    z = z
    ##\vec R(x,z) =\langle x, 2-x,z\rangle## and plot it using whatever syntax Mathematica requires.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook