How to | Label a Plot

The Wolfram Language provides flexible options for labeling plots, allowing you to present ideas more clearly in presentations and publications.

This page requires that JavaScript be enabled in your browser.
Learn how »

There are several methods of adding a label to a plot. You can use PlotLabel, Labeled, or interactively add text to a plot using Drawing Tools. For a description of adding text to plots using Drawing Tools, see How to: Add Text outside the Plot Area and How to: Add Text to a Graphic.

To add a centered label to the top of a plot, use the PlotLabel option:

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

You can control the appearance of the label by wrapping it in Style options:

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

If the plot has a background color, the plot extends to include the label:

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

To put a label underneath a plot, like a caption, use Labeled:

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

To use the same font and style that is used in graphics, set the label style to :

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

In this case, the background of the plot does not include the label:

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