Can I have multiple lines in a label in Grapher?

Yes, Grapher does allow labels to have multiple lines. To show plot labels with multiple lines, you need to insert some extra characters into the worksheet's label column. For instance, suppose your data looks like:

data displayed in Grapher's worksheet with X, Y, and labels
Sample data with X, Y, and label columns.


In the third line, at the &, you may want a second line for the label. Click in cell C4 and place the cursor just before the &. Type \n and leave a space after the text. If you don't want the & to appear, you can remove the &. Your text might look like:

Data in Grapher's worksheet with labels showing multiple columns
The same sample data with X, Y, and label columns.
The last label has the \n designator, to indicate a new line.


Now that the data has been updated, follow these steps to create the graph and add the labels:

  1. Highlight columns A and B and click the Home | New Graph | Basic | Scatter Plot command (Scatter Plot Icon).
  2. Click on the scatter plot layer in the Object Manager to select it.
  3. In the Property Manager, click on the Labels tab.
  4. Change the Label variable to Column C: Label.

 Screen shot demonstrating instructions

The above instructions viewed in the Object Manager and Property Manager.


Scatter plot in Grapher with labels spanning multiple lines
The scatter plot is created with the label spanning multiple lines.


Updated September 20, 2018

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request


Please sign in to leave a comment.