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

How do i plot a function of two variables in mathematica?

  1. Jan 20, 2008 #1
    Last edited: Jan 20, 2008
  2. jcsd
  3. Jan 20, 2008 #2
    Try ContourPlot, Plot3D, etc. Mathematica has plenty of built in documentation.

    I don't think this is the proper forum for this sort of question.
  4. Jan 21, 2008 #3


    User Avatar
    Science Advisor
    Homework Helper

    Code (Text):
    Plot3D[x^2 - y^2, {x, -5, 5}, {y, -5, 5}, AxesLabel -> {x, y, z}]
    works for me.
  5. Jan 23, 2008 #4
    Look up Plot3D in the help, it gives examples on how to use the function. Sometimes you need to import graphics packages before you can use certain functions in there. I don't think Plot3D needs and packages but implicit functions might. I has been a while since I have used Mma.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook