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

Click For Summary

Discussion Overview

The discussion revolves around plotting functions of two variables using Mathematica, focusing on specific functions and the tools available within the software. The scope includes practical application and technical guidance on using built-in functions.

Discussion Character

  • Technical explanation, Homework-related

Main Points Raised

  • One participant suggests using ContourPlot and Plot3D as potential functions for plotting in Mathematica.
  • Another participant provides a specific example of using Plot3D with the function x^2 - y^2 over a defined range.
  • A different participant mentions the importance of consulting the help documentation for examples and notes that some functions may require importing graphics packages, although they believe Plot3D does not.
  • One participant expresses doubt about the appropriateness of the forum for this type of question.

Areas of Agreement / Disagreement

There is no clear consensus on the appropriateness of the forum for the question, and participants provide varying levels of detail in their responses regarding the use of Mathematica functions.

lordy12
Messages
36
Reaction score
0
guic
 
Last edited:
Physics news on Phys.org
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.
 
Code:
Plot3D[x^2 - y^2, {x, -5, 5}, {y, -5, 5}, AxesLabel -> {x, y, z}]
works for me.
 
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.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K