Wolfram Language Fast Introduction for Math Students
Get Started »

Plots in 3D

Plot3D will plot a 3D Cartesian curve or surface:

In[1]:=
Click for copyable input
Plot3D[x^2 - y^2 , {x, -3, 3}, {y, -3, 3}]
Out[1]=

Use ParametricPlot3D to plot a 3D space curve:

In[2]:=
Click for copyable input
ParametricPlot3D[{Sin[u], Cos[u], u/10}, {u, 0, 20}]
Out[2]=

For plotting in spherical coordinates, use SphericalPlot3D:

In[3]:=
Click for copyable input
SphericalPlot3D[Sin[\[Theta]], {\[Theta], 0, Pi}, {\[Phi], 0, 2 Pi}]
Out[3]=

RevolutionPlot3D constructs the surface formed by revolving an expression around an axis:

In[1]:=
Click for copyable input
RevolutionPlot3D[x^4 - x^2, {x, -1, 1}]
Out[1]=

QUICK REFERENCE: Function Visualization »