Displaying Labels with Multiple Lines of Text in Grapher

To show plot labels with multiple lines, you will need to insert extra characters into the worksheet's label column. For instance, suppose your data looks like the data shown below:

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:

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.


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


The scatter plot is created with the label spanning two lines.


Updated February 22, 2023

Was this article helpful?
1 out of 3 found this helpful



Please sign in to leave a comment.