此为 Mathematica 7 文档,内容基于更早版本的 Wolfram 语言
查看最新文档(版本11.2)
Mathematica HowTo
How to | Plot Functions of Two Variables
Mathematica gives you the power to visualize functions of two variables in multiple ways, including three-dimensional parametric plots, spherical polar plots, revolution plots, and contour plots.
Plot the function sin(x) sin^2(y):
In[1]:=
Click for copyable input
Out[1]=
    
Plot several functions:
In[2]:=
Click for copyable input
Out[2]=
    
Use ParametricPlot3D to plot the surface defined by :
In[3]:=
Click for copyable input
Out[3]=
    
Create a polar plot of a sphere of unit radius:
In[4]:=
Click for copyable input
Out[4]=
    
Generate a plot of the surface of revolution of the curve :
In[5]:=
Click for copyable input
Out[5]=
Use ContourPlot3D to plot a function implicitly defined by x^2+y^2-z^2=0:
In[6]:=
Click for copyable input
Out[6]=