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

AI Thread Summary
ContourPlot and Plot3D are essential functions in Mathematica for creating graphical representations of data. Users are encouraged to explore the extensive built-in documentation for guidance on these functions. A specific example of using Plot3D is provided, demonstrating how to plot the equation x^2 - y^2 over a specified range for x and y, with axes labeled accordingly. It is noted that while Plot3D typically does not require additional graphics packages, some functions, particularly those dealing with implicit equations, may need them. Overall, users are advised to refer to the help resources for detailed instructions and examples.
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
Views
2K
Replies
3
Views
2K
Replies
4
Views
1K
Replies
4
Views
2K
Replies
5
Views
3K
Back
Top