How to | Create 3D Graphics

3D graphics can be created with a number of powerful Mathematica functions. 3D graphics in Mathematica can be rotated and zoomed using a standard mouse or even a joystick or gamepad.

Create a sphere using Graphics3D:

In[6]:=
Click for copyable input
Out[6]=

Visualize the equation using Plot3D:

In[7]:=
Click for copyable input
Out[7]=

Use ContourPlot3D to make a hyperboloid of one sheet:

In[8]:=
Click for copyable input
Out[8]=

Using ParametricPlot3D is another way to make 3D graphics:

In[9]:=
Click for copyable input
Out[9]=

Use RevolutionPlot3D to make a 3D graphic by revolving a function curve around the axis:

In[10]:=
Click for copyable input
Out[10]=

Use SphericalPlot3D to plot a 3D surface given in spherical coordinates:

In[11]:=
Click for copyable input
Out[11]=

Use ListPointPlot3D to make 3D graphics of a set of points on a quadruple helix:

In[12]:=
Click for copyable input
Out[12]=
New to Mathematica? Find your learning path »
Have a question? Ask support »