How to | Customize My Graphics

Mathematica allows you to customize your 2D and 3D graphics through a variety of options.

Without any options set, Plot uses a variety of default option values for color, axes style, and so on:

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

Add a plot label:

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

Style the plot label:

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

Style the curve:

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

Style the axes:

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

Style the labels:

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

Create a filled plot:

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

Draw grid lines:

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

Specify manual ticks on the axes:

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

Add points under or over the plot:

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

Add several styled graphics primitives to the plot:

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

The default graphics produced by Plot3D use a variety of default option values:

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

Control the intersection point of the axes:

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

Omit mesh:

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

Control the density of the mesh drawn on the surface:

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

Plot several surfaces together:

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

Control the regions over which the surfaces are plotted:

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

Specify lighting simulation to use for coloring the surfaces:

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

Control the ratio of the box dimensions and add other styles:

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

Get a list of all the options that can be used to customize the plots you produce with Plot and Plot3D:

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