Follow

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 Graphs | Create | Basic | Scatter Plot command (Scatter Plot Icon).
  2. Click on the Line/Scatter Plot 1 in the Object Manager to select it.
  3. In the Property Manager, click on the Labels tab.
  4. Check the box next to the Display labels option.
  5. Uncheck the box next to the Labels in Y column option.
  6. Change the Column to Column C: Label.

 

The graph is created with the label on two lines.

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

 

Updated September 30, 2016

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

0 Comments

Please sign in to leave a comment.