Skip to main content

Guide to Legends in Grapher

Grapher offers an array of robust customization options for legends, enabling you to craft impactful legends tailored to your specific requirements. Craft individual plot legends or comprehensive multi-graph legends. Tweak and tinker with legends by adding or omitting plots, rearranging categories within a Class Plot legend, inverting the sequence of legend items, splitting legends, fine-tuning sample sizes for individual entries, and much more!

  Table of Contents

Adding a Legend to a Graph

Add a legend

Add a multi-graph legend

Add a plot legend

Add or remove plots from a legend

Reorder Classes in the Legend for Class Plots Using Text Classes

Reverse the Order of Legend Entries

Break Apart a Legend

Control Sample Size in Legend for Individual Entries

Editing Other Legend Properties

Edit the number of symbols

Edit the legend line length

Change the number of columns

Change individual properties for each legend entry

Change properties for all legend entries at once

 

Adding a Legend to a Graph

Legends provide details about each plot or graph in your project. The legend type you need for your plot depends on your plot type and the information that needs to be defined.
 

Type

Description

Legend Displays information about each plot in one graph (including the slices in pie or doughnut charts)
Multi-graph Legend Displays information about all plots in all graphs on one page
Plot Legend Displays information about the classes in class plots (2D, XYZ, polar, ternary, piper), bubble size and color in bubble plots, or bins in wind charts
Color Table Legend  Displays information about fill colors defined in a color table
Symbol Table Legend  Displays information about symbols defined in a symbol table
Color Scale  Displays the values associated with colors applied via a colormap

 

Add a legend

To add a legend to your graph:
  1. Click on the Graph or any plot in the graph to select it.
  2. Click the Graph Tools | Add to Graph | Graph Legend command. A default legend displaying all plots is added to the graph.

Legend.png
The default legend is added to the graph,
displaying all of the plots in the graph in the order the plots are drawn.

 

Add a multi-graph legend

A multi-graph legend can be added to collections of 2D or 3D plots.  To add a multi-graph legend to your project click Graph Tools | Add to Graph | Multi-Graph Legend.

 

Add a plot legend

To display a legend for classes, bubbles, bins, or other plots with more information:

  1. Select a plot type that can use a plot legend.
  2. Click the Graph Tools | Add to Graph | Plot Legend command.

 

 

Control Sample Size in Legend for Individual Entries

You can adjust the size of each legend entry independently of other legend entries in Grapher.

  1. Select the legend.
  2. Click on the Entries tab in the Property Manager.
  3. In the Individual Entries section, select the desired legend entry from the Entry list.
  4. Change the Sample size method to Custom.
  5. Adjust the Sample size to the desired size.

 

Legends.png

Adjusting the legend entry for a gradient-filled bar chart allows for easier identification of all colors present in the gradient.

 

Editing Other Legend Properties

Edit the number of symbols

  1. Click on the Legend in the Object Manager to select it.
  2. In the Property Manager, click on the Legend tab.
  3. Change the value next to the Number of symbols.

Edit the legend line length

  1. Click on the Legend in the Object Manager to select it.
  2. In the Property Manager, click on the Legend tab.
  3. Change the value next to the Line length.

Change the number of columns

  1. Click on the Legend in the Object Manager to select it.
  2. In the Property Manager, click on the Legend tab.
  3. Change the value next to the Number of columns.

Change individual properties for each legend entry

  1. Click on the Legend in the Object Manager to select it.
  2. In the Property Manager, click on the Entries tab.
  3. Click next to Entry to select the specific entry you want to edit.
  4. Make any property changes to the selected entry, including the Entry Order.

Change properties for all legend entries at once

  1. Click on the Legend in the Object Manager to select it.
  2. In the Property Manager, click on the Entries tab.
  3. Make any property changes under the All Entries section, which will apply to all entries in the legend.

Updated May 2023

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

Comments

0 comments

Please sign in to leave a comment.